git-gui: Cleanup state descriptions.
Updated the state descriptions for individual file states to try and
make them more closely align with what git-runstatus might display.
This way a user who is reading Git documentation will be less confused
by our descriptions.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
diff --git a/git-gui.sh b/git-gui.sh
index be286b0..1d34239 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1957,24 +1957,24 @@
set max_status_desc 0
foreach i {
{__ "Unmodified"}
- {_M "Modified"}
- {M_ "Added to commit"}
- {MM "Partially added"}
- {MD "Added (but gone)"}
- {_O "Untracked"}
- {A_ "Added by commit"}
- {AM "Partially added"}
- {AD "Added (but gone)"}
+ {_M "Modified, not staged"}
+ {M_ "Staged for commit"}
+ {MM "Portions staged for commit"}
+ {MD "Staged for commit, missing"}
+
+ {_O "Untracked, not staged"}
+ {A_ "Staged for commit"}
+ {AM "Portions staged for commit"}
+ {AD "Staged for commit, missing"}
{_D "Missing"}
- {D_ "Removed by commit"}
- {DO "Removed (still exists)"}
- {DM "Removed (but modified)"}
+ {D_ "Staged for removal"}
+ {DO "Staged for removal, still present"}
- {UD "Merge conflicts"}
- {UM "Merge conflicts"}
- {U_ "Merge conflicts"}
+ {U_ "Requires merge resolution"}
+ {UM "Requires merge resolution"}
+ {UD "Requires merge resolution"}
} {
if {$max_status_desc < [string length [lindex $i 1]]} {
set max_status_desc [string length [lindex $i 1]]