Re: Wrap up of Line Level History Browser [long]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Rast wrote:

> For me it replaces a manual iterative process to find out in what ways
> a function was patched until it came to have its current shape:
>
>  git-blame the area, find the most recent commit C
>  while 1:
>    git show C
>    if that explains the code: break
>    git-blame the area in C^
>    find the most recent commit and call it C again
[...]
> All of this can now be replaced by a simple
>
>  git log -L <range> <filename>
>
> A good example that I did a lot of testing with:
>
>  git log --graph be58e70d^ -L /builtin_funcname_pattern/,/^}/ diff.c

Thanks. (And thanks to Bo for implementing it!)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]