Re: absurdly slow git-diff
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 8, 2008, 21:02 UTC
- Message-ID
- <7vr65maq2r.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LFD.2.00.0811071554590.3468@nehalem.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> Junio, the time difference is quite big for Abhijit's admittedly odd > test-case: > ... > with no difference in output.
In git.git history, "git-whatchanged -m -p -1" gives different output for the following commits, with and without the patch:
c0e9892637e8144f10f2c408e276a470520f3601
d6b3e3a33f71910526ccf80af6c13a230363cd89
cecb98a9c3ed9271b0974bb6d7edbcf16e8a68f3
ce18135d862b5dbc731d203b27c279529e58b54b
36b5b3c65948694d9a92de5a17f2b97c3cd84879
767e130915015f897fb87b939843b4882212574b
927a503cd07718ea0f700052043f383253904a56I've sampled a few (but not all) of them and they are different only because just how common lines are matched up, which is expected.