Merge branch 'rt/maint-clone-single' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 8 Oct 2012 18:34:02 +0000 (11:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Oct 2012 18:34:02 +0000 (11:34 -0700)
A repository created with "git clone --single" had its fetch
refspecs set up just like a clone without "--single", leading the
subsequent "git fetch" to slurp all the other branches, defeating
the whole point of specifying "only this branch".

* rt/maint-clone-single:
clone --single: limit the fetch refspec to fetched branch

1  2 
Documentation/git-clone.txt
builtin/clone.c
Simple merge
diff --cc builtin/clone.c
Simple merge