* Puzzled by gitk patch representation for merge commits
@ 2008-07-04 9:14 Jerome Lovy
2008-07-04 17:51 ` Jonathan Nieder
0 siblings, 1 reply; 2+ messages in thread
From: Jerome Lovy @ 2008-07-04 9:14 UTC (permalink / raw)
To: git
Hello,
I don't understand the graphical scheme that gitk uses when displaying
patches for merge commits. I would like to be able to explain this to
the people I'm trying to evangelize to git, because they are also
puzzled when they try to check with gitk what a merge has done to a
given file.
I can see that at least three graphical hints seem to be involved:
- font: regular/bold
- color: red/blue
(maybe there are more colors when the commit has more than two parents?)
- column for displaying the '+' or '-'
But I just don't see what is the respective semantics of these hints...
(I'm using git 1.5.5.1 if that matters.)
Thanks in advance,
Jérôme
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Puzzled by gitk patch representation for merge commits
2008-07-04 9:14 Puzzled by gitk patch representation for merge commits Jerome Lovy
@ 2008-07-04 17:51 ` Jonathan Nieder
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Nieder @ 2008-07-04 17:51 UTC (permalink / raw)
To: Jerome Lovy; +Cc: git
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1026 bytes --]
Hi Jérôme,
Jerome Lovy wrote:
> I don't understand the graphical scheme that gitk uses when displaying
> patches for merge commits. I would like to be able to explain this to the
> people I'm trying to evangelize to git, because they are also puzzled when
> they try to check with gitk what a merge has done to a given file.
>
> I can see that at least three graphical hints seem to be involved:
> - font: regular/bold
> - color: red/blue
> (maybe there are more colors when the commit has more than two parents?)
> - column for displaying the '+' or '-'
All of the information is there in the text; the color and font are just
supposed to make it easier to see. As for the diff text itself, I
didn't remember what it meant myself, so I looked it up.
It seems the diff format shown is that produced by 'git-diff --cc',
which makes a "compact combined diff". It only shows conflicting
changes. Each column on the left represents the changes from a
different parent.
Hope that helps,
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-04 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 9:14 Puzzled by gitk patch representation for merge commits Jerome Lovy
2008-07-04 17:51 ` Jonathan Nieder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).