Code

Set up remotes/origin to track all remote branches.
authorJunio C Hamano <junkio@cox.net>
Sun, 6 Nov 2005 08:52:57 +0000 (00:52 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 Nov 2005 02:17:14 +0000 (18:17 -0800)
commit95d117b6051c01726b67d3151f83e47dd41c0743
tree3d07d3bd2f319d0df6c2402c1084d44ce6b69c67
parentf1790448628262e46496861bb6da76be63a2a247
Set up remotes/origin to track all remote branches.

This implements the idea Daniel Barkalow came up with, to match
the remotes/origin created by clone by default to the workflow I
use myself in my guinea pig repository, to have me eat my own
dog food.

We probably would want to use either .git/refs/local/heads/*
(idea by Linus) or .git/refs/heads/origin/* instead to reduce
the local ref namespace pollution.

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