Code

Fix branches file configuration
authorDaniel Barkalow <barkalow@iabervon.org>
Tue, 25 Mar 2008 23:35:28 +0000 (19:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Mar 2008 07:50:51 +0000 (00:50 -0700)
commit472fa4cd33c690dd9b338c02af3ed135666aea43
tree5d26a3bdc95ae0b66d85ba55cfbebb6486b335ec
parentc091b3d415f95d3e4e62acddb084e211af46acbf
Fix branches file configuration

Fetched remote branch from .git/branches/foo should fetch into
refs/heads/foo.  Also when partial URL is given, the fetched head should
always be remote HEAD, and the result should not be stored anywhere.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c