Artifact
3976cb007d1d3827f2df0e92d1e243acb24ab16c:
- File
src/add.c
-
2014-02-20 08:51:20
— part of check-in
[6ec21b58a2]
on branch trunk
— When doing "fossil add foo.*" but the user forgets there is a foo.o besides the foo.c and foo.h, and "ignore-glob" contains the "*.o" pattern, fossil will properly warn for this situation and ask what to do.
(for Fossil itself this is no issue, as the *.o files are kept in a separate directory, but not all projects do that).
Example:
/Localdata/workspace/tcl8.6/unix
$ touch foo.c foo.h foo.o
/Localdata/workspace/tcl8.6/unix
$ fossil add foo.*
file "foo.o" matches "ignore-glob". Add it (a=all/y/N)? n
ADDED foo.c
ADDED foo.h
(user:
jan.nijtmans
size: 21653)
-
2014-02-20 08:51:20
— part of check-in
[6ec21b58a2]
on branch trunk
— When doing "fossil add foo.*" but the user forgets there is a foo.o besides the foo.c and foo.h, and "ignore-glob" contains the "*.o" pattern, fossil will properly warn for this situation and ask what to do.
(for Fossil itself this is no issue, as the *.o files are kept in a separate directory, but not all projects do that).
Example:
/Localdata/workspace/tcl8.6/unix
$ touch foo.c foo.h foo.o
/Localdata/workspace/tcl8.6/unix
$ fossil add foo.*
file "foo.o" matches "ignore-glob". Add it (a=all/y/N)? n
ADDED foo.c
ADDED foo.h
(user:
jan.nijtmans
size: 21653)