1
0
mirror of https://github.com/git/git.git synced 2024-11-18 19:13:58 +01:00

git-gui: Enable resolution of merge conflicts.

If a file has a merge conflict (index state = U) the user will need to
run update-index on that file to resolve all stages down to stage 0,
by including the file in the working directory.

Like core Git we'll just trust the user that their resolution is
correct, and that they didn't just include the file into the commit
while merge conflicts still exist within the file.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
Shawn O. Pearce 2006-11-26 19:45:39 -05:00
parent 5e926cbf7e
commit f70c3a2cac

@ -1502,10 +1502,13 @@ proc write_update_index {fd pathList totalCnt batch msg after} {
switch -glob -- [lindex $file_states($path) 0] {
AD -
MD -
UD -
_D {set new DD}
_M -
MM -
UM -
U_ -
M_ {set new M_}
_O -