path: root/git-clone-script
AgeCommit message (Collapse)Author
2005-08-24[PATCH] Use .git/remote/origin, not .git/branches/origin.Junio C Hamano
Now multi-head fetch is complete, let's migrate the default configuration for new repositories created with the "git clone" command. The original $GIT_DIR/branches is not deprecated yet, but create remotes directory by default from the templates as well. Signed-off-by: Junio C Hamano <>
2005-08-17Make sure alternates are carried over from the original repository.Junio C Hamano
When we create a cheap local clone by pointing at the object databse of the original repository, we forgot to take the alternates the original repository might have had into account. Signed-off-by: Junio C Hamano <>
2005-08-15Add cheap local clone '-s' flag to git-clone-scriptJunio C Hamano
Using the $GIT_OBJECT_DIRECTORY/info/alternates mechanism, create a new repository that borrows objects from the original repository when --shared flag is given in addition to --local. It is worth pointing out that the "cloned" repository depends on the original repository, so this should be used only when you can reasonably trust that the original repository would not disappear without your knowing. Signed-off-by: Junio C Hamano <>
2005-07-24[PATCH] Support cloning packed repo from dumb http servers.Junio C Hamano
Using the information prepared with update-server-info, a truly dumb http server can allow cloning with this client side support. Signed-off-by: Junio C Hamano <> Signed-off-by: Linus Torvalds <>
2005-07-23[PATCH] git-clone-script: store where we cloned from in .git/branches/originJunio C Hamano
A bit more usability enhancement, while retaining Cogito compatibility (and fixing the "-u" flag). Signed-off-by: Junio C Hamano <> Signed-off-by: Junio C Hamano <>
2005-07-14[PATCH] clone-pack and clone-script: documentation and add a missing parameter.Junio C Hamano
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 <> Signed-off-by: Linus Torvalds <>
2005-07-11[PATCH] git-clone-script local optimization tweaksJunio C Hamano
- 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 <> Signed-off-by: Linus Torvalds <>
2005-07-09Add "-q" flag to "git commit"Linus Torvalds
Maybe you don't want the progress report.
2005-07-09Teach "git clone" about rsync sourcesLinus Torvalds
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-friendlyLinus Torvalds
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).Junio C Hamano
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 <> Signed-off-by: Linus Torvalds <>
2005-07-05Make "git clone" use the new git-clone-packLinus Torvalds
2005-06-23Add "git-clone-script" thingyLinus Torvalds
It's just a trivial wrapper, but it should make Jeff's kernel developer guide to git look a bit less intimidating.