Skip to contentSkip to conversation

Documentation for git gui blame

DISCUSSION Joshua Jensen 3 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Is there any documentation for git gui blame that explains what the
two left columns containing 4 letter SHAs are?

What does "Blame Parent Commit" mean?

Thanks!

Josh

#1 lore raw
Quoted 1 line · Joshua Jensen

Is there any documentation for git gui blame

Not sure but it's displaying the same info as git blame so start with man git-blame. That probably covers most of what you want to know

Quoted 1 line

that explains what the two left columns containing 4 letter SHAs are?

These are the first 4 characters of the commit id that last added/changed that line of code. Basically the standard abbreviated 8 character SHA1 would take up too much screen real estate. You can still use a 4 character SHA as long as there aren't any commits in your tree that start with the same 4 characters (the possibility of collisions exists with 8 character ones too, it's just less likely).

Quoted 3 lines

What does "Blame Parent Commit" mean?

It means that you have decided that the commit that it currently has selected is not interesting and you want to see the previous commit that modified that section (e.g. it was just some formatting change and you want the commit that actually added the code in question).

Quoted 7 lines

Thanks!

Josh

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 10 lines · Chris Packham
Quoted 1 line · Joshua Jensen

Is there any documentation for git gui blame

Not sure but it's displaying the same info as git blame so start with man git-blame. That probably covers most of what you want to know

Quoted 1 line

that explains what the two left columns containing 4 letter SHAs are?

These are the first 4 characters of the commit id that last added/changed that line of code.

Note that there are *two* columns because one column contains plain blame, and second contains blame with code movement and copying detection and discarding changes in whitespace (like "git blame -C -C -w"). So if those columns are different, one column would show commit that put code here, and the other would show commit that changed this code.

Signature · 3 lines
Jakub Narebski
Poland
ShadeHawk on #git
#3 lore raw
Quoted 10 lines · Jakub Narebski
Quoted 8 lines · Chris Packham
Quoted 1 line · Joshua Jensen

Is there any documentation for git gui blame

Not sure but it's displaying the same info as git blame so start with man git-blame. That probably covers most of what you want to know

Quoted 1 line

that explains what the two left columns containing 4 letter SHAs are?

Quoted 8 lines
Quoted 2 lines

These are the first 4 characters of the commit id that last added/changed that line of code.

Note that there are *two* columns because one column contains plain blame, and second contains blame with code movement and copying detection and discarding changes in whitespace (like "git blame -C -C -w"). So if those columns are different, one column would show commit that put code here, and the other would show commit that changed this code.

Sorry, my bad I should have actually taken a look before responding (and read the question properly).

#4 lore raw
In reply to Jakub Narebski

----- Original Message -----
From: Jakub Narebski
Date: 10/12/2010 1:50 PM

Quoted 11 lines
Quoted 4 lines · Chris Packham
Quoted 1 line · Joshua Jensen

Is there any documentation for git gui blame that explains what the two left columns containing 4 letter SHAs are?

These are the first 4 characters of the commit id that last added/changed that line of code.

Note that there are *two* columns because one column contains plain blame, and second contains blame with code movement and copying detection and discarding changes in whitespace (like "git blame -C -C -w"). So if those columns are different, one column would show commit that put code here, and the other would show commit that changed this code.

Ah, great! That's what the other column is all about!

Thanks, Chris, for the Blame Parent Commit info, too.

Josh