mirror of
https://github.com/git/git.git
synced 2024-12-17 05:43:35 +08:00
0569e9b8ce
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>
3 lines
36 B
Plaintext
3 lines
36 B
Plaintext
$ git diff --name-status dir2 dir
|
|
$
|