Re: [RFC] git-ghost: preserve “why” on deleted lines

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

 



Max Rhodin <max@xxxxx> writes:

> Comments?

Would running "git blame" in reverse work for your use case?

Tracing deleted contents is much harder than tracing contents in the
current revision, simply because you have to find where to start
digging.  In order to find where the contents were removed, you
first need to know what exact contents you are looking for (which
by definition you cannot do with the current revision), and then you
need to know what revision had that code.

What I do in practice is to randomly check out an old revision to
find sufficiently old one that still contains the contents ("git
bisect" can help), and then go from there.





[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]

  Powered by Linux