author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 18 Dec 2007 19:32:14 +0000 (19:32 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 20 Dec 2007 09:10:39 +0000 (01:10 -0800) | ||
commit | eab9a40b6dd5c1c571b1deb264133db47bb4794d | |
tree | 792cbe7fec4bf5018d85bbef4d98d2b24db5fd96 | tree | snapshot |
parent | 74f6b03c5c8fceef416de9f9a18e5d64712b6d96 | commit | diff |
Teach diff machinery to display other prefixes than "a/" and "b/"
With the new options "--src-prefix=<prefix>", "--dst-prefix=<prefix>"
and "--no-prefix", you can now control the path prefixes of the diff
machinery. These used to by hardwired to "a/" for the source prefix
and "b/" for the destination prefix.
Initial patch by Pascal Obry. Sane option names suggested by Linus.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
With the new options "--src-prefix=<prefix>", "--dst-prefix=<prefix>"
and "--no-prefix", you can now control the path prefixes of the diff
machinery. These used to by hardwired to "a/" for the source prefix
and "b/" for the destination prefix.
Initial patch by Pascal Obry. Sane option names suggested by Linus.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history |