Re: [PATCH] git-gui: Do not automatically stage file after merge tool finishes
- From
Alexander Gavrilov <angavrilov@gmail.com>
- Date
- Sep 30, 2008, 08:00 UTC
- Message-ID
- <200809301200.57353.angavrilov@gmail.com>
- In-Reply-To
- <48E1CA7F.5050501@viscovery.net>
On Tuesday 30 September 2008 10:43:11 Johannes Sixt wrote:
Show 17 quoted lines
> From: Johannes Sixt <johannes.sixt@telecom.at> > > If a merge tool was invoked on a conflicted file and the tool completed, > then the conflicted file was staged automatically. However, the fact that > the user closed the merge tool cannot be understood as the unequivocal > sign that the conflict was completely resolved. For example, the user > could have decided to postpone the resolution of the conflict, or could > have accidentally closed the tool. We better leave the file unstaged and > let the user stage it explicitly. > > Since the file is not staged anyway, the check for an unmodified > timestamp is pointless and removed. > > Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> > --- > I had sent this patch last week (but marked as RFC). Here it is again > without 'RFC' because I think it is a necessary change.
Now that the issue with staging of working copy files is more or less resolved, I agree that it is better to disable automatic staging.
Alexander