summaryrefslogtreecommitdiff
path: root/git-clone-script
AgeCommit message (Collapse)AuthorFilesLines
2005-07-13[PATCH] clone-pack and clone-script: documentation and add a missing parameter.Libravatar Junio C Hamano1-2/+10
While adding the documentation for these two commands, I noticed that the name of the program on the other end (git-upload-pack) is already almost configurable but git-clone-pack lacked command line parameter parsing to actually use anything but default, so I introduced --exec= like other remote commands while I was at it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-11[PATCH] git-clone-script local optimization tweaksLibravatar Junio C Hamano1-6/+5
- When local optimization is used, the variable repo has already been passed through get_repo_base so there is no need to check for .git subdirectory in there. - Use cpio -l instead of "cp -l". Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-09Add "-q" flag to "git commit"Libravatar Linus Torvalds1-3/+5
Maybe you don't want the progress report.
2005-07-08Teach "git clone" about rsync sourcesLibravatar Linus Torvalds1-1/+13
That will be the normal way of cloning anonymously for a while, so let's make sure it's easy to use.
2005-07-08Make "git clone" a lot more user-friendlyLibravatar Linus Torvalds1-2/+14
This silently adds the ".git" directory component if needed, so you don't need to state it explicitly for the source. Also, it turns the source into an absolute pathname when local, so that you can use relative pathnames without losing sight of the source when we cd into the destination.
2005-07-07[PATCH] Short-circuit git-clone-pack while cloning locally (take 2).Libravatar Junio C Hamano1-1/+67
When we are cloning a repository on a local filesystem, it is faster to just create a hard linkfarm of .git/object hierarchy and copy the .git/refs files. By default, the script uses the clone-pack method, but it can be told with the -l flag to do the hard linkfarm (falling back on recursive file copy) to replicate the .git/object hierarchy. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-05Make "git clone" use the new git-clone-packLibravatar Linus Torvalds1-4/+1
2005-06-22Add "git-clone-script" thingyLibravatar Linus Torvalds1-0/+7
It's just a trivial wrapper, but it should make Jeff's kernel developer guide to git look a bit less intimidating.