diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-21 00:14:13 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-21 00:14:13 -0800 |
commit | 47874d6d9a7f49ade6388df049597f03365961ca (patch) | |
tree | 47a6d6a3d9368ae59ed77352b87216456396f6f4 /run-command.c | |
parent | revamp git-clone. (diff) | |
download | tgif-47874d6d9a7f49ade6388df049597f03365961ca.tar.xz |
revamp git-clone (take #2).
This builds on top of the previous one.
* --use-separate-remote uses .git/refs/remotes/$origin/
directory to keep track of the upstream branches.
* The $origin above defaults to "origin" as usual, but the
existing "-o $origin" option can be used to override it.
I am not yet convinced if we should make "$origin" the synonym to
"refs/remotes/$origin/$name" where $name is the primary branch
name of $origin upstream, nor if so how we should decide which
upstream branch is the primary one, but that is more or less
orthogonal to what the clone does here.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions