diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-07-03 16:01:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-03 13:44:30 -0700 |
commit | 3cb567386d5d0349bfb5e3aaf85e973faf685dda (patch) | |
tree | 86865561fd3ff11e22f3832eccd4a6e29d81f120 /t/t4013 | |
parent | Don't smash stack when $GIT_ALTERNATE_OBJECT_DIRECTORIES is too long (diff) | |
download | tgif-3cb567386d5d0349bfb5e3aaf85e973faf685dda.tar.xz |
diff --no-index: fix --name-status with added files
Without this patch, an added file would be reported as /dev/null.
Noticed by David Kastrup.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013')
-rw-r--r-- | t/t4013/diff.diff_--name-status_dir2_dir | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t4013/diff.diff_--name-status_dir2_dir b/t/t4013/diff.diff_--name-status_dir2_dir new file mode 100644 index 0000000000..ef7fdb7335 --- /dev/null +++ b/t/t4013/diff.diff_--name-status_dir2_dir @@ -0,0 +1,3 @@ +$ git diff --name-status dir2 dir +A dir/sub +$ |