git-clone: do not forget to create origin branch.
commite125c1a717bb732319596d8b792a67c2b7b15ef7
authorJunio C Hamano <junkio@cox.net>
Wed, 2 Nov 2005 06:19:36 +0000 (1 22:19 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 2 Nov 2005 06:19:36 +0000 (1 22:19 -0800)
treeb774cd64105bda561bba3c528a7fea19b87755a1
parente5215804ded0102f6d6f3d694374ae5e106fd9c0
git-clone: do not forget to create origin branch.

The newly cloned repository by default had .git/remotes/origin
set up to track the remote master to origin, but forgot to
create the origin branch ourselves.  Also it hardcoded the
assumption that the remote HEAD points at "master", which may
not always be true.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh