Forward port the "funny ref avoidance" in clone and fetch from maint branch.
commitcdb3950801fec8e9efa1607093a6e51737bacba0
authorJunio C Hamano <junkio@cox.net>
Tue, 18 Oct 2005 04:47:06 +0000 (17 21:47 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 18 Oct 2005 04:47:06 +0000 (17 21:47 -0700)
tree3194f5072432ceacf766c450e663900fabc074ac
parent508c1d1c9b13f53783d024ccb28f77d0e6f10e7f
Forward port the "funny ref avoidance" in clone and fetch from maint branch.

Somehow I forgot to forward port these fixes.  "git clone" from a
repository prepared with the latest update-server-info would fail
without this patch.

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