git-clone: Support changing the origin branch with -o
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 22 Dec 2005 22:37:24 +0000 (23:37 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Dec 2005 00:35:37 +0000 (16:35 -0800)
Earlier, git-clone stored upstream's master in the branch named 'origin',
possibly overwriting an existing such branch.

Now you can change it by calling git-clone with '-o <other_name>'.

[jc: added ref format check, subdirectory safety, documentation
 and usage string.]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>

No differences found