Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-27 23:05:52 +0400
committerJunio C Hamano <gitster@pobox.com>2012-06-29 03:09:40 +0400
commit3b069b1beba6d851401032260a8030448637ece5 (patch)
tree86ac99cf74a29adf277db833ebec1a9c13028ab2 /diffcore.h
parentc20f592611c2760a14d37fa1780afd2093159aeb (diff)
diff-index.c: unify handling of command line paths
Regardless of where in the directory hierarchy you are, "-" on the command line means the standard input. The old code knew too much about how the low level machinery uses paths to read from the working tree and did not bother to have the same check for "-" when the command is run from the top-level. Unify the codepaths for subdirectory case and toplevel case into one and make it clearer. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
0 files changed, 0 insertions, 0 deletions