author | Junio C Hamano <junkio@cox.net> | |
Thu, 20 Oct 2005 01:28:17 +0000 (18:28 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 20 Oct 2005 04:04:53 +0000 (21:04 -0700) | ||
commit | 4dab94d52e25b6a53a715613ec5b06b42b240106 | |
tree | 061550ba5e546c9c795b365e1364a159aa264f7c | tree | snapshot |
parent | 0a8944dd48b97d258240af967dfdfcea4f203b85 | commit | diff |
Do not feed rev-list an invalid SHA1 expression.
The previous round to optimize fetch-pack has a small bug that
feeds SHA1^ ("parent commit") before making sure SHA1 is
actually a commit (or a tag that eventually dereferences to a
commit). Also it did not help culling the known-to-be-common
parents if the common one was a merge.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The previous round to optimize fetch-pack has a small bug that
feeds SHA1^ ("parent commit") before making sure SHA1 is
actually a commit (or a tag that eventually dereferences to a
commit). Also it did not help culling the known-to-be-common
parents if the common one was a merge.
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch-pack.c | diff | blob | history |