summaryrefslogtreecommitdiff
path: root/git-repack-script
AgeCommit message (Collapse)AuthorFilesLines
2005-07-08Mark git-relink-script and git-repack-script executableLibravatar Linus Torvalds1-0/+0
Sure, "install" will default to installing it executable anyway, but this is the right thing to do.
2005-07-08Add "git-sh-setup-script" for common git shell script setupLibravatar Linus Torvalds1-3/+4
It sets up the normal git environment variables and a few helper functions (currently just "die()"), and returns ok if it all looks like a git archive. So use it something like . git-sh-setup-script || die "Not a git archive" to make the rest of the git scripts more careful and readable.
2005-07-03Make the name of a pack-file depend on the objects packed there-in.Libravatar Linus Torvalds1-11/+6
This means that the .git/objects/pack directory is also rsync'able, since the filenames created there-in are either unique or refer to the same data. Otherwise you might not be able to pull from a directory that is partly packed without having to worry about missing objects due to pack-file name clashes.
2005-07-03Add "git repack" command that does an incremental packLibravatar Linus Torvalds1-0/+18