git-fetch fails if remote is detached HEAD

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Friday, January 19, 2007 - 7:44 am

Hello,

Running git-fetch from a remote repository that has a detached head 
fails with:

fatal: '/path/to/repository/.git': unable to chdir or not a git archive

A simple checkout at the remote end, and everything is fine again.

I can't quite see why fetch is interested in the remote HEAD at all?  
The only time that is ever needed is during a clone isn't it?


Andy
-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-fetch fails if remote is detached HEAD, Andy Parkins, (Fri Jan 19, 7:44 am)
Re: git-fetch fails if remote is detached HEAD, Junio C Hamano, (Fri Jan 19, 6:23 pm)