Re: [PATCH] improved delta support for git
- From
- Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
- Date
- May 17, 2005, 18:22 UTC
- Message-ID
- <20050517182232.GM13508@cip.informatik.uni-erlangen.de>
- In-Reply-To
- <Pine.LNX.4.62.0505112309480.5426@localhost.localdomain>
Hello Nicolas, I just tried it against Linus git-HEAD. It worked like a charm so far. I imported mutt-1.5 CVS branch using cvsps (1103 patches).
(medion) [/scratch/mutt/mutt-cvs] git-rev-tree HEAD | wc -l 1103 (medion) [/scratch/mutt/mutt-cvs] du -sh .git/objects/ 63M .git/objects/ (medion) [/scratch/mutt/mutt-cvs] git-deltafy-script -d 2000 ... (medion) [/scratch/mutt/mutt-cvs] du -sh .git/objects/ 35M .git/objects/
Maybe you should add git-deltafy-script and git-mkdelta to the installation targets (patch attached).
And I wonder why the mutt CVS Repository is still smaller than the zdelta compressed mutt git repository. And with mutt CVS Repository I mean every commit since mutt-0.9x not only mutt-1.5 branch?
(faui03) [~] du -sh work/mutt/cvsrepository 34M work/mutt/cvsrepository
Greetings, Thomas
[PATCH] Install git-mkdelta and git-deltafy-script
Signed-off-by: Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
--- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ INSTALL=install SCRIPTS=git-apply-patch-script git-merge-one-file-script git-prune-script \ - git-pull-script git-tag-script git-resolve-script + git-pull-script git-tag-script git-resolve-script git-deltafy-script PROG= git-update-cache git-diff-files git-init-db git-write-tree \ git-read-tree git-commit-tree git-cat-file git-fsck-cache \ @@ -28,7 +28,7 @@ git-unpack-file git-export git-diff-cache git-convert-cache \ git-http-pull git-rpush git-rpull git-rev-list git-mktag \ git-diff-helper git-tar-tree git-local-pull git-write-blob \ - git-get-tar-commit-id + git-get-tar-commit-id git-mkdelta all: $(PROG)