[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Progress report on git-blame
From: |
Óscar Fuentes |
Subject: |
Re: Progress report on git-blame |
Date: |
Sun, 26 Jan 2014 00:03:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> One more thing: "git blame" is of no use when you're trying to see not
> "who wrote these lines when" but "who removed (and when) the lines that
> aren't there any more". A "git log-and-diff" would handle that case
> just fine, OTOH.
When you know the content's of the line that was added/removed (or a
peculiar enough part of it) you can use `git log -S <text>':
$ git log -S chmod
or, restricted to a path:
$ git log -S chmod -- *.h
for viewing the diffs too:
$ git log -S chmod -p -- *.h
There are lots of possibilities there. See `git help log' and search for
`pickaxe'.
All those cases are supported by Magit.
- Re: Progress report on git-blame, (continued)
- Re: Progress report on git-blame, David Kastrup, 2014/01/25
- Re: Progress report on git-blame, Lars Ingebrigtsen, 2014/01/25
- Re: Progress report on git-blame, David Kastrup, 2014/01/25
- Re: Progress report on git-blame, Óscar Fuentes, 2014/01/25
- Re: Progress report on git-blame, David Kastrup, 2014/01/25
- Re: Progress report on git-blame, Eli Zaretskii, 2014/01/25
- Re: Progress report on git-blame, Óscar Fuentes, 2014/01/25
- Re: Progress report on git-blame, David Kastrup, 2014/01/25
- Re: Progress report on git-blame, Stefan Monnier, 2014/01/25
- Re: Progress report on git-blame, Stefan Monnier, 2014/01/25
- Re: Progress report on git-blame,
Óscar Fuentes <=
- Re: Progress report on git-blame, Stefan Monnier, 2014/01/25
- Re: Progress report on git-blame, Eli Zaretskii, 2014/01/26
- Re: Progress report on git-blame, Stefan Monnier, 2014/01/26
- Re: Progress report on git-blame, Eli Zaretskii, 2014/01/26
- Re: Progress report on git-blame, Stefan Monnier, 2014/01/26
- Re: Progress report on git-blame, David Kastrup, 2014/01/26
- Re: Progress report on git-blame, Stefan Monnier, 2014/01/26
- Re: Progress report on git-blame, David Engster, 2014/01/25
- Re: Progress report on git-blame, David Kastrup, 2014/01/25
- Re: RFC - cleaning up /etc, Stefan Monnier, 2014/01/11