summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_--name-status_dir2_dir
AgeCommit message (Collapse)AuthorFilesLines
2008-05-24"git diff": do not ignore index without --no-indexLibravatar Junio C Hamano1-1/+0
Even if "foo" and/or "bar" does not exist in index, "git diff foo bar" should not change behaviour drastically from "git diff foo bar baz" or "git diff foo". A feature that "sometimes works and is handy" is an unreliable cute hack. "git diff foo bar" outside a git repository continues to work as a more colourful alternative to "diff -u" as before. Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-07-03diff --no-index: fix --name-status with added filesLibravatar Johannes Schindelin1-0/+3
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>