Re: git diff too slow for a file

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

 



René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> writes:

> Turning XDF_NEED_MINIMAL off by default looks like the sane thing to do
> in order to help the fringe cases without hurting the normal ones.
>
> A --slow/--minimal/--try-harder option for git diff could come in handy
> for longer patches, though.  GNU diff has it, too (-d/--minimal).
>
>> I expect that there will also be some differences in the blame output.
>
> I haven't looked at the impact on blame, but additionally patch IDs are
> going to change (for those patches where XDF_NEED_MINIMAL makes a
> difference).  Are they stored somewhere?  Do we need to worry about them?

Patch-IDs are purely transient inside core-git as far as I know, but I
wouldn't surprised if people keep database of patch-IDs and corresponding
commits to somehow speed up change look-ups.

Theoretically, conflict IDs used to index the rerere database would also
be affected, but I don't think it is such a huge issue.
--
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]