On Wed, Mar 31, 2010 at 3:44 AM, allstars <[email protected]> wrote:
> i found some pieces of line has been removed
>
> but how could i know which commit removed those lines
> without iterating every commit?
>
> git diff seems cannot show commit rev
> git blame seems cannot show removed lines

Look at "git log -S<string>".

>From the man page: "Look for differences that introduce or remove an
instance of <string>. Note that this is different than the string
simply appearing in diff output...."

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to