Re: Combined diff format documentation
- From
Horst H. von Brand <vonbrand@inf.utfsm.cl>
- Date
- Oct 26, 2006, 01:48 UTC
- Message-ID
- <200610260148.k9Q1mr99007511@laptop13.inf.utfsm.cl>
- In-Reply-To
- <junkio@cox.net>
Junio C Hamano <junkio@cox.net> wrote:
> Jakub Narebski <jnareb@gmail.com> writes:
[...]
> > 5. Hunk header is also modified: in ordinary diff we have > > ... > > It might be not obvoious that we have (number of parents + 1) '@' > > characters in chunk header for combined dif format.
> Correct. This was done to prevent people from accidentally > feeding it to "patch -p1". In other words, we wanted to make it > so obvious that it is _not_ a patch.
It isn't, really... perhaps it should be made /more/ obvious (not use @ but e.g. &, ...)?
-- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 2654431 Universidad Tecnica Federico Santa Maria +56 32 2654239