author | Junio C Hamano <junkio@cox.net> | |
Fri, 11 Nov 2005 06:41:44 +0000 (22:41 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 11 Nov 2005 18:52:31 +0000 (10:52 -0800) | ||
commit | 9e5f4a5539fe0e6ed31f26f34f1832a729facf4b | |
tree | 8964221663383b46653eda3e95e0e17fdce6d066 | tree | snapshot |
parent | ed9a540b2b351ea305e26bb0d9028f21c976b67c | commit | diff |
merge-base: avoid unnecessary postprocessing.
When we have only one merge-base candidates in the result list,
there is no point going back to mark the reachable commits
again. And that is the most common case, so try not to waste
time on it. Suggested by Linus.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When we have only one merge-base candidates in the result list,
there is no point going back to mark the reachable commits
again. And that is the most common case, so try not to waste
time on it. Suggested by Linus.
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-base.c | diff | blob | history |