author | Jens Lehmann <Jens.Lehmann@web.de> | |
Fri, 9 Jul 2010 22:18:38 +0000 (00:18 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Jul 2010 22:13:54 +0000 (15:13 -0700) | ||
commit | 108da0db1277fc2f4820d0a47c02b2c63111f7a5 | |
tree | 1684b8bab6530364e446aaa2a437d19521f04e34 | tree | snapshot |
parent | 637ab29b86533c7ce65a615fd445d163a2c57dc9 | commit | diff |
git add: Add the "--ignore-missing" option for the dry run
Sometimes it is useful to know if a file or directory will be ignored
before it is added to the work tree. An example is "git submodule add",
where it would be really nice to be able to fail with an appropriate
error message before the submodule is cloned and checked out.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Sometimes it is useful to know if a file or directory will be ignored
before it is added to the work tree. An example is "git submodule add",
where it would be really nice to be able to fail with an appropriate
error message before the submodule is cloned and checked out.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt | diff | blob | history | |
builtin/add.c | diff | blob | history | |
dir.c | diff | blob | history | |
dir.h | diff | blob | history | |
t/t3700-add.sh | diff | blob | history |