git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Blaming differences
@ 2012-06-18 22:56 Phil Hord
  2012-06-19  7:07 ` Thomas Rast
  2012-06-20  0:35 ` Chris Packham
  0 siblings, 2 replies; 4+ messages in thread
From: Phil Hord @ 2012-06-18 22:56 UTC (permalink / raw)
  To: git

I want something like a product of diff and blame.  I want to see some
kind of "blame" output for each line of "diff -U0".

I tried something like this:
   git blame $changed_files

Is there such a command already?

I'd also like to do something of the inverse operation:  I want to
find commits within a range whose changes are NOT in some other
commit.   So, say I have these four commits
   A---B---C---D

Where D was created by 'git revert B'.
I'd like to find out somehow that this is equivalent to
   A--C

So that if I remove B and D completely, the with just A and C will get
me to the same end result.

Something like 'git list-contributors HEAD' which would show me A and
C, since these are the only commits that appear in any 'git blame
$any_file'.

Do these tools exist?  Is it too expensive?

Phil

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

end of thread, other threads:[~2012-06-20  2:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18 22:56 Blaming differences Phil Hord
2012-06-19  7:07 ` Thomas Rast
2012-06-20  0:35 ` Chris Packham
2012-06-20  2:45   ` Chris Packham

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