lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file deletion in index lost after checkout -b
- Date: Thu, 04 Sep 2008 23:12:26 -0700
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: file deletion in index lost after checkout -b
Jing Xue <jingxue@xxxxxxxxxxxxxxxxx> writes:
[jc: please redirect an answer _meant for you_ off to the list with M-F-T header]
> In Git 1.6.0 the following sequence:
> ...
> The deletion of 2.txt appears lost during 'checkout -b foo', while the
> modification and addition were both brought over. Is it a bug?
This behaviour is unchanged since early June 2005.
http://thread.gmane.org/gmane.comp.version-control.git/4641/focus=4646
This is exactly the case marked as *0*, which both Linus and I said "it
feels somewhat wrong but otherwise we cannot start from an empty index".
We may want to do better this time around, though.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html