git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Documentation for git gui blame
@ 2010-10-12 16:12 Joshua Jensen
  2010-10-12 16:27 ` Chris Packham
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Jensen @ 2010-10-12 16:12 UTC (permalink / raw)
  To: git@vger.kernel.org

  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Documentation for git gui blame
  2010-10-12 16:12 Documentation for git gui blame Joshua Jensen
@ 2010-10-12 16:27 ` Chris Packham
  2010-10-12 19:50   ` Jakub Narebski
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Packham @ 2010-10-12 16:27 UTC (permalink / raw)
  To: Joshua Jensen; +Cc: git@vger.kernel.org

On 12/10/10 09:12, Joshua Jensen wrote:
>  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

> 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).

> 
> 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).

> Thanks!
> 
> Josh
> -- 
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Documentation for git gui blame
  2010-10-12 16:27 ` Chris Packham
@ 2010-10-12 19:50   ` Jakub Narebski
  2010-10-12 21:46     ` Chris Packham
  2010-10-13  2:32     ` Joshua Jensen
  0 siblings, 2 replies; 5+ messages in thread
From: Jakub Narebski @ 2010-10-12 19:50 UTC (permalink / raw)
  To: Chris Packham; +Cc: Joshua Jensen, git@vger.kernel.org

Chris Packham <judge.packham@gmail.com> writes:

> On 12/10/10 09:12, Joshua Jensen wrote:
> >  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
> 
> > 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.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Documentation for git gui blame
  2010-10-12 19:50   ` Jakub Narebski
@ 2010-10-12 21:46     ` Chris Packham
  2010-10-13  2:32     ` Joshua Jensen
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Packham @ 2010-10-12 21:46 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: Joshua Jensen, git@vger.kernel.org

On 12/10/10 12:50, Jakub Narebski wrote:
> Chris Packham <judge.packham@gmail.com> writes:
> 
>> On 12/10/10 09:12, Joshua Jensen wrote:
>>>  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
>>
>>> 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.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Documentation for git gui blame
  2010-10-12 19:50   ` Jakub Narebski
  2010-10-12 21:46     ` Chris Packham
@ 2010-10-13  2:32     ` Joshua Jensen
  1 sibling, 0 replies; 5+ messages in thread
From: Joshua Jensen @ 2010-10-13  2:32 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: Chris Packham, git@vger.kernel.org

  ----- Original Message -----
From: Jakub Narebski
Date: 10/12/2010 1:50 PM
> Chris Packham<judge.packham@gmail.com>  writes:
>
>> On 12/10/10 09:12, Joshua Jensen wrote:
>>>   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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-13  2:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-12 16:12 Documentation for git gui blame Joshua Jensen
2010-10-12 16:27 ` Chris Packham
2010-10-12 19:50   ` Jakub Narebski
2010-10-12 21:46     ` Chris Packham
2010-10-13  2:32     ` Joshua Jensen

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).