git-gui: Remove invalid DM state.
[gitweb.git] / git-gui.sh
index 9a2b70b47558046bcdda3702c83a347e8e08fae5..be286b0e78d453f5545a98c36f705f3a7d0386a8 100755 (executable)
@@ -1114,8 +1114,7 @@ proc commit_committree {fd_wt curHEAD msg} {
                AM -
                AD -
                MM -
-               MD -
-               DM {
+               MD {
                        set file_states($path) [list \
                                _[string index $m 1] \
                                [lindex $s 1] \
@@ -2872,8 +2871,7 @@ proc toggle_or_diff {w x y} {
                A_ -
                M_ -
                D_ -
-               DO -
-               DM {
+               DO {
                        update_indexinfo \
                                "Removing [short_path $path] from commit" \
                                [list $path] \