author | Junio C Hamano <junkio@cox.net> | |
Tue, 6 Mar 2007 00:16:32 +0000 (16:16 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 6 Mar 2007 09:08:34 +0000 (01:08 -0800) | ||
commit | c2dea5a11cc7106d0beec9931e527467b7189ab3 | |
tree | a4f4b62e34ef79dd249431bb5b1e7471a5b80891 | tree | snapshot |
parent | 2b064697a5b0610254f52523ce5b70c81118da80 | commit | diff |
git-bundle: various fixups
verify_bundle() returned with an error early only when all
prerequisite commits were missing. It should error out much
earlier when some are missing.
When the rev-list is limited in ways other than revision range
(e.g. --max-count or --max-age), create_bundle() listed all
positive refs given from the command line as if they are
available, but resulting pack may not have some of them. Add a
logic to make sure all of them are included, and error out
otherwise.
Signed-off-by: Junio C Hamano <junkio@cox.net>
verify_bundle() returned with an error early only when all
prerequisite commits were missing. It should error out much
earlier when some are missing.
When the rev-list is limited in ways other than revision range
(e.g. --max-count or --max-age), create_bundle() listed all
positive refs given from the command line as if they are
available, but resulting pack may not have some of them. Add a
logic to make sure all of them are included, and error out
otherwise.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-bundle.c | diff | blob | history |