Re: Fetch and refs/remotes//HEAD

2015-08-09 Thread Jeff King
On Mon, Aug 03, 2015 at 01:28:05PM +, Dror Livne wrote: > I have noticed that when cloning a repository, I get a > refs/remotes/origin/HEAD symbolic ref. > > On the other hand, when fetching a new remote, the remote HEAD is not set by > git-fetch (but can be added later by `git remote set-hea

Fetch and refs/remotes//HEAD

2015-08-03 Thread Dror Livne
I have noticed that when cloning a repository, I get a refs/remotes/origin/HEAD symbolic ref. On the other hand, when fetching a new remote, the remote HEAD is not set by git-fetch (but can be added later by `git remote set-head ...') I was under the impression that clone is equivalent to (at lea