Code

rerere: make sorting really stable.
authorJunio C Hamano <junkio@cox.net>
Wed, 4 Apr 2007 21:12:03 +0000 (14:12 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 4 Apr 2007 21:12:03 +0000 (14:12 -0700)
commit2b93edbf32700d91c500806e4502077829d66d21
treea2e9a4709978fe8af2bf0ed9da371ec8c90db109
parent364b8523529163ffeeb71521239a18ac1f550512
rerere: make sorting really stable.

The earlier code does not swap hunks when the beginning of the
first side is identical to the whole of the second side.  In
such a case, the first one should sort later.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rerere.c
t/t4200-rerere.sh