git-gui: Support file state MD (modified/deleted).
Apparently I missed the file state MD, which is a file modified and updated in the index but then removed from the working directory. This should be treated just like AD, an added file which has been deleted from the working directory. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Nov 24, 2006 at 15:59 UTC
9342e26d3a832dd24878725b42444b8efe4fa1c4
1 file changed
+3
git-gui
+3
@@ -1093,6 +1093,7 @@ proc commit_committree {fd_wt curHEAD msg} {
1093
AM -
1094
AD -
1095
MM -
1096
+ MD -
1097
DM {
1098
set file_states($path) [list \
1099
_[string index $m 1] \
@@ -2211,6 +2212,7 @@ proc include_helper {txt paths} {
2212
AM -
2213
AD -
2214
MM -
2215
+ MD -
2216
U? -
2217
_M -
2218
_D -
@@ -2255,6 +2257,7 @@ proc do_include_all {} {
2257
AM -
2258
AD -
2259
MM -
2260
+ MD -
2261
_M -
2262
_D {lappend paths $path}
2263
}