author | Junio C Hamano <gitster@pobox.com> | |
Tue, 27 May 2008 04:54:23 +0000 (21:54 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 27 May 2008 04:54:23 +0000 (21:54 -0700) | ||
commit | 040366076fa0dc540309531997a987cc6d83a577 | |
tree | 42da27189fb3a58ce2da5d202240aa8e6aa5f20c | tree | snapshot |
parent | 0569e9b8cea20d5eedfec66730a9711a0907ab0d | commit | diff |
git-diff: allow --no-index semantics a bit more
Even when inside a git work tree, if two paths are given and at least one
is clearly outside the work tree, it cannot be a request to diff a tracked
path anyway; allow such an invocation to use --no-index semantics.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Even when inside a git work tree, if two paths are given and at least one
is clearly outside the work tree, it cannot be a request to diff a tracked
path anyway; allow such an invocation to use --no-index semantics.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-no-index.c | diff | blob | history |