author | Junio C Hamano <junkio@cox.net> | |
Sat, 11 Nov 2006 22:45:35 +0000 (14:45 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 11 Nov 2006 22:46:11 +0000 (14:46 -0800) | ||
commit | 057bc808b4aa2e7795f9bd395e68071301bc0b74 | |
tree | 33cd56f56479672463071ab8789faca61583cd57 | tree | snapshot |
parent | a6ec3c1599f990b4f2f3dab2606688639f74d844 | commit | diff |
path-list: fix path-list-insert return value
When path-list-insert is called on an existing path, it returned an
unrelated element in the list. Luckily most of the callers are
ignoring the return value, but merge-recursive uses it at three places
and this would have resulted in a bogus rename detection.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When path-list-insert is called on an existing path, it returned an
unrelated element in the list. Luckily most of the callers are
ignoring the return value, but merge-recursive uses it at three places
and this would have resulted in a bogus rename detection.
Signed-off-by: Junio C Hamano <junkio@cox.net>
path-list.c | diff | blob | history |