Code

git-gui: Cleanup state descriptions.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 04:00:28 +0000 (23:00 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 07:54:23 +0000 (02:54 -0500)
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>
git-gui.sh

index be286b0e78d453f5545a98c36f705f3a7d0386a8..1d342392abfbd36de6b588077acb3c4a693171f0 100755 (executable)
@@ -1957,24 +1957,24 @@ set all_icons(O$ui_workdir) file_plain
 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]]