git-log comes to the rescue. You can pass --since DATE to git-log, and can
even give a path or file name, too. For example:

git log --since '4 days' src/susp.c

will display every commit in the last 4 day that modified src&susp.c
On 19 Aug 2014 15:59, "Norike Abe" <nor...@gmail.com> wrote:

> Excuse me if the terminology I use is not exactly the one used in Git. I'm
> not very used in this system...
>
> Imagine you suspect a line of code (or a method) in a file in your project
> has changed but you don't know when; and you want to check if that line has
> ever changed, when this happened, who did the commit(s) and of course see
> the diff(s).
>
> Is there a command to compare all the changes between two given commits a
> file has suffered, in a given set of lines of code?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to