diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-27 12:05:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-28 16:09:40 -0700 |
commit | 3b069b1beba6d851401032260a8030448637ece5 (patch) | |
tree | 86ac99cf74a29adf277db833ebec1a9c13028ab2 /t/t4034/ruby | |
parent | diff-index.c: do not pretend paths are pathspecs (diff) | |
download | tgif-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 't/t4034/ruby')
0 files changed, 0 insertions, 0 deletions