Re: [Attn - repository browser authors] diff-tree combined format.
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Feb 3, 2006, 12:17 UTC
- Message-ID
- <e5bfff550602030417w290c12b6yc4406f890acadc73@mail.gmail.com>
- In-Reply-To
- <7v1wylkn54.fsf_-_@assigned-by-dhcp.cox.net>
On 2/3/06, Junio C Hamano <junkio@cox.net> wrote:
> Junio C Hamano <junkio@cox.net> writes: >
Show 9 quoted lines
> > (2) match line numbers in the hunk header to normal diff's > order: > > @@@ -1,87 -1,3 +1,93 @@@ > > That is, counts for parents prefixed with '-', and > the count for result prefixed with '+'. >
It's OK for me. Just one (documentation) note. I found, by means of a past qgit annotate bug ;-) in case of small files (1 line files as VERSION files) the diff header format is slightly different.
Sorry, I am not able to post now the diff output but I think should be not a problem to reproduce.
This is just, as said above, a note to avoid someone else falls in the same bug assuming
@ -1,87 -1,3 +1,93 @
is the only possible header format.
Regarding the rest is all OK for me. I choose to do not alter/coloring the patch as gitk does, but to always use red for removed lines and green for added and to keep the patch output _as is_ . I found this more simple and clear, at least for me.
Marco