Re: [PATCH] Fix pulling into the same branch.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 11, 2005, 17:58 UTC
- Message-ID
- <Pine.LNX.4.58.0509111054590.3242@g5.osdl.org>
- In-Reply-To
- <7vk6hntslb.fsf@assigned-by-dhcp.cox.net>
On Sun, 11 Sep 2005, Junio C Hamano wrote:
> > Yes, but the issue becomes how we can reliably tell if a > repository is naked or has an associated working tree.
You can't "git pull" into a naked thing anyway. And
git-read-tree -m -u <old-head> <new-head>
should always do the right thing (ie if there is dirty state that would be updated, it will fail gracefully).
Or did I miss something?
Linus