Re: [PATCH] reset --hard/read-tree --reset -u: remove unmerged new paths

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Andrew Morton <akpm@...>, <david@...>, Git Mailing List <git@...>
Date: Wednesday, October 15, 2008 - 7:16 pm

On Wed, 15 Oct 2008, Junio C Hamano wrote:

Looks good to me. And from my tests, I think "git checkout -f" didn't have 
this problem at all, because it ends up using not got read-tree, but doing 
its own "reset_tree()" that uses unpack_trees().

I do wonder if "git reset" should perhaps be written in those terms, 
instead of just being a wrapper around git read-tree. But the patch looks 
fine.

		Linus
--
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:
Untracked working tree files, Andrew Morton, (Wed Oct 15, 2:56 pm)
Re: Untracked working tree files, , (Wed Oct 15, 3:09 pm)
Re: Untracked working tree files, , (Wed Oct 15, 3:14 pm)
Re: Untracked working tree files, Linus Torvalds, (Wed Oct 15, 3:31 pm)
Re: Untracked working tree files, Andrew Morton, (Wed Oct 15, 3:49 pm)
Re: Untracked working tree files, Linus Torvalds, (Wed Oct 15, 4:08 pm)
Re: Untracked working tree files, Linus Torvalds, (Wed Oct 15, 4:23 pm)
Re: Untracked working tree files, Junio C Hamano, (Wed Oct 15, 6:06 pm)
Re: [PATCH] reset --hard/read-tree --reset -u: remove unmerg..., Linus Torvalds, (Wed Oct 15, 7:16 pm)
Re: Untracked working tree files, Andrew Morton, (Wed Oct 15, 4:30 pm)
Re: Untracked working tree files, Andrew Morton, (Wed Oct 15, 4:23 pm)
Re: Untracked working tree files, Paolo Ciarrocchi, (Thu Oct 16, 4:42 am)
Re: Untracked working tree files, Andrew Morton, (Thu Oct 16, 5:32 am)
Re: Untracked working tree files, , (Wed Oct 15, 3:42 pm)
Re: Untracked working tree files, Linus Torvalds, (Wed Oct 15, 3:56 pm)
Re: Untracked working tree files, , (Wed Oct 15, 4:17 pm)
Re: Untracked working tree files, Andrew Morton, (Wed Oct 15, 3:26 pm)
Re: Untracked working tree files, Nicolas Pitre, (Wed Oct 15, 3:32 pm)
Re: Untracked working tree files, Nicolas Pitre, (Wed Oct 15, 3:34 pm)
Re: Untracked working tree files, Andrew Morton, (Wed Oct 15, 3:24 pm)