summaryrefslogtreecommitdiff
path: root/builtin-verify-pack.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-01make verify_one_pack() a bit less wrong wrt packed_git structureLibravatar Nicolas Pitre1-1/+1
Simply freeing it is wrong. There are many things attached to this structure that are not cleaned up. In practice this doesn't matter much since this happens just before the program exits, but it is still a bit more "correct" to leak it implicitly rather than explicitly. And therefore it is also a good idea to register it with install_packed_git(). Not only might it have better chance of being properly cleaned up if such functionality is implemented for the general case, but some functions like init_revindex() expect all packed_git instances to be globally accessible. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2006-12-29Load core configuration in git-verify-pack.Libravatar Shawn O. Pearce1-0/+1
Now that our pack access code's behavior may be altered by the setting of core.packedGitWindowSize or core.packedGitLimit we need to make sure these values are set as configured in the repository's configuration file rather than to their defaults. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-08-12Merge branch 'mk/rename'Libravatar Junio C Hamano1-0/+79
2006-08-10git-verify-pack: make builtinLibravatar Rene Scharfe1-0/+79
Convert git-verify-pack to a builtin command. Also rename ac to argc and av to argv for consistancy. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>