author | Jeff King <peff@peff.net> | |
Tue, 17 Mar 2009 09:03:19 +0000 (05:03 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Mar 2009 06:19:27 +0000 (23:19 -0700) | ||
commit | 67c176f549daf5530cabbb801de2b5feb0db82f4 | |
tree | 0861313fdbeecfd571e59c9c12b75751faa0617e | tree | snapshot |
parent | 7ad3c52e2dc8e81aafa615fb8b65ad99b6a62172 | commit | diff |
ls-files: require worktree when --deleted is given
The code will end up calling lstat() to check whether the
file still exists; obviously this doesn't work if we're not
in the worktree.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The code will end up calling lstat() to check whether the
file still exists; obviously this doesn't work if we're not
in the worktree.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-ls-files.c | diff | blob | history |