author | Junio C Hamano <junkio@cox.net> | |
Fri, 13 May 2005 00:17:54 +0000 (17:17 -0700) | ||
committer | Petr Baudis <xpasky@machine.sinus.cz> | |
Fri, 13 May 2005 05:34:59 +0000 (07:34 +0200) | ||
commit | 6ca45943121a92cad5c6ebef71764fb441bff356 | |
tree | 2a5e43fa9318a648bfb4dbf64208f4c26905a5f8 | tree | snapshot |
parent | a15c1c60db9abb981754b1ba3b899f49949ae8b7 | commit | diff |
[PATCH 3/3] Add git-ls-files -k.
When checkout-cache attempts to check out a non-directory where
a directory exists on the work tree, or to check out a file
under directory D when path D is a non-directory on the work
tree, the attempt fails. Before running checkout-cache, the
user can run git-ls-files with the -k (killed) option to get a
list of such paths. The tagged output format uses "K" to denote
them. This is useful for Porcelain layer to be careful when
dealing with the recently corrected behaviour of checkout-cache.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
When checkout-cache attempts to check out a non-directory where
a directory exists on the work tree, or to check out a file
under directory D when path D is a non-directory on the work
tree, the attempt fails. Before running checkout-cache, the
user can run git-ls-files with the -k (killed) option to get a
list of such paths. The tagged output format uses "K" to denote
them. This is useful for Porcelain layer to be careful when
dealing with the recently corrected behaviour of checkout-cache.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Documentation/git-ls-files.txt | diff | blob | history | |
ls-files.c | diff | blob | history |