Re: git and bzr

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nicholas Allen <nick.allen@...>
Cc: Jakub Narebski <jnareb@...>, <bazaar-ng@...>, <git@...>
Date: Tuesday, November 28, 2006 - 6:41 pm

On Tue, 28 Nov 2006, Linus Torvalds wrote:

Side note, to clarify: in the _simple_ cases it's all actually there.

I can well imagine that in more complex cases, involving multiple 
different files, you may well want to re-do the merge and let the merge 
tell you why it refused to merge something.

So the index, for example, contains just a "final end result" of what the 
merge gave up on, and while for a simple rename conflict like your example 
you could certainly see that directly from the index state (and thus we 
could, for example, have a "git status" that talks about it being a 
filename conflict), if you have a criss-cross rename, the index itself 
doesn't really tell you _why_, and it could look superficially like a data 
conflict. 

In such a case, you'd really have to either go back to the merge itself to 
see what happened, or you'd use the "git log" thing and just work it out 
from there (ie you can ask "git log" to tell you about any renames as they 
happened etc).

I don't think I've actually hit a complex enough merge to need this yet, 
but the graphical tools should help too, ie "gitk --merge" should give you 
everything that "git log --merge" gives you (ie just the commits that 
aren't common, and simplified to just the ones that matter for the 
unmerged filenames in the end result). I can well imagine that being 
useful too.

So the tools are certainly there. "git status" just isn't necessarily the 
best one (or the best that it could be, for that matter)..

			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:
Re: git and bzr, Jakub Narebski, (Tue Nov 28, 2:06 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 4:37 pm)
Re: git and bzr, Martin Langhoff, (Tue Nov 28, 5:40 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 5:26 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 5:49 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 6:00 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 6:25 pm)
Re: git and bzr, Johannes Schindelin, (Wed Nov 29, 6:52 am)
Re: git and bzr, Linus Torvalds, (Wed Nov 29, 1:29 pm)
Re: git and bzr, Marko Macek, (Wed Nov 29, 2:54 pm)
Re: git and bzr, Andreas Ericsson, (Thu Nov 30, 8:25 am)
Re: git and bzr, Theodore Tso, (Thu Nov 30, 4:01 pm)
Re: git and bzr, Linus Torvalds, (Wed Nov 29, 4:45 pm)
Re: git and bzr, Carl Worth, (Wed Nov 29, 8:05 pm)
Re: git and bzr, Raimund Bauer, (Thu Nov 30, 2:59 am)
Re: git and bzr, Andreas Ericsson, (Thu Nov 30, 8:45 am)
Re: git and bzr, Johannes Schindelin, (Thu Nov 30, 6:19 am)
Re: git and bzr, Nguyen Thai Ngoc Duy, (Thu Nov 30, 7:25 am)
Re: git and bzr, Johannes Schindelin, (Thu Nov 30, 8:23 am)
Re: git and bzr, Nguyen Thai Ngoc Duy, (Thu Nov 30, 5:01 am)
Re: git and bzr, Alan Chandler, (Thu Nov 30, 5:30 am)
Re: git and bzr, Steven Grimm, (Thu Nov 30, 5:39 am)
Re: git and bzr, Alan Chandler, (Thu Nov 30, 4:31 am)
Re: git and bzr, Carl Worth, (Thu Nov 30, 3:17 am)
Re: git and bzr, Carl Worth, (Wed Nov 29, 8:08 pm)
Re: git and bzr, Johannes Schindelin, (Wed Nov 29, 4:07 pm)
Re: git and bzr, Jakub Narebski, (Wed Nov 29, 4:49 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 6:46 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 6:41 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 6:48 pm)
Re: git and bzr, Johannes Schindelin, (Wed Nov 29, 6:49 am)
Re: git and bzr, Jon Loeliger, (Wed Nov 29, 4:37 pm)
Re: git and bzr, Jakub Narebski, (Wed Nov 29, 7:01 am)
Re: git and bzr, Shawn Pearce, (Tue Nov 28, 5:53 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 6:13 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 3:11 pm)
Re: git and bzr, Andy Parkins, (Tue Nov 28, 3:40 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 2:58 pm)