author | Jeff King <peff@peff.net> | |
Tue, 17 Mar 2009 09:03:19 +0000 (05:03 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 17 Mar 2009 22:12:40 +0000 (15:12 -0700) | ||
commit | 8ad3dae3a76ee42983da89ea9b5d9a4688f58f93 | |
tree | d35b58c4f4fcfd92bef61c4ad91455ce0b099a01 | tree | snapshot |
parent | fcfdf797db015e13623645c0be049db679d5daaa | 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 |