git-fetch fails if remote is detached HEAD

From: Andy Parkins <hidden>
Date: 2016-06-15 22:42:50

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help