aboutsummaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-27 12:05:52 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-28 16:09:40 -0700
commit3b069b1beba6d851401032260a8030448637ece5 (patch)
tree86ac99cf74a29adf277db833ebec1a9c13028ab2 /git-am.sh
parentc20f592611c2760a14d37fa1780afd2093159aeb (diff)
downloadgit-3b069b1beba6d851401032260a8030448637ece5.tar.gz
git-3b069b1beba6d851401032260a8030448637ece5.tar.xz
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 'git-am.sh')
0 files changed, 0 insertions, 0 deletions