Re: [PATCH/RFC] Do not show "diff --git" metainfo with --no-prefix
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 16, 2008, 02:15 UTC
- Message-ID
- <7v63xutt0h.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LNX.1.00.0801152056030.13593@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> At most, I think, if a_one and b_two are identical, we could use the > "Index:" form, since "diff -ur something something" is weird (how can > "something" be different from itself?).
I think you can have --src-prefix=a- --dst-prefix=b- and see "diff a-foo b-foo" ;-). I really do not care much either way, as long as it does not say "diff --git".
This is also an offtopic remark but I have been wondering how safe those fake "diff --git" output people seem to be able to get out of recent-enough Hg.