Re: [PATCH v8 4/5] Implement line-history search (git log -L)

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

 



Thomas Rast <trast@xxxxxxxxxxxxxxx> writes:

> Junio C Hamano <gitster@xxxxxxxxx> writes:
>
>>> +/*
>>> + * NEEDSWORK: manually building a diff here is not the Right
>>> + * Thing(tm).  log -L should be built into the diff pipeline.
>>
>> I am not sure about this design, and do not necessarily agree that
>> wedging this to the diff pipeline is the right future direction.
>>
>> I have a feeling that "log -L" should actually be built around
>> "blame".  You let blame to hit the first parent to take the blame,
>> and then turn around to show a single "diff-tree" between the child
>> and the parent with whatever other diff pipeline gizmo the user can
>> give you from the command line.  The blame also tells you what the
>> "interesting" line range were at the first parent commit you found,
>> so you can re-run the same thing with an updated range.
>
> Hrm, now that you mention it, this is actually a brilliant idea.

I don't know.  That is just me handwaving without giving a serious
end-to-end thought.
--
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]