diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-20 00:21:10 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-20 00:21:10 -0800 |
commit | dfeff66ed9a3931d60f3cd600ad8c14b5cc3d9e5 (patch) | |
tree | 648432428d1ae3678680df2ed7f89e50b7cb1777 /Documentation/git-svnimport.txt | |
parent | fetch,parse-remote,fmt-merge-msg: refs/remotes/* support (diff) | |
download | tgif-dfeff66ed9a3931d60f3cd600ad8c14b5cc3d9e5.tar.xz |
revamp git-clone.
This does two things.
* A new flag --reference can be used to name a local repository
that is to be used as an alternate. This is in response to
an inquiry by James Cloos in the message on the list
<m3r74ykue7.fsf@lugabout.cloos.reno.nv.us>.
* A new flag --use-separate-remote stops contaminating local
branch namespace by upstream branch names. The upstream
branch heads are copied in .git/refs/remotes/ instead of
.git/refs/heads/ and .git/remotes/origin file is set up to
reflect this as well. It requires to have fetch/pull update
to understand .git/refs/remotes by Eric Wong to further
update the repository cloned this way.
For the former change, git-fetch-pack is taught a new flag --all
to fetch from all the remote heads. Nobody uses the git-clone-pack
with this change, so we could deprecate the command, but removal
of the command will be left to a separate round.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-svnimport.txt')
0 files changed, 0 insertions, 0 deletions