Skip to content

Commit 24d2bf2

Browse files
committed
git-gui: Relabel the Add All action.
One user that I spoke with recently was confused why the 'Add All' button did not add all of his 'Changed But Not Updated' files. The particular files in question were new, and thus not known to Git. Since the 'Add All' routine only updates files which are already tracked, they were not added automatically. I suspect that calling this action 'Add Existing' would be less confusing, so I'm renaming it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent 258871d commit 24d2bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-gui.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5124,7 +5124,7 @@ if {[is_enabled multicommit] || [is_enabled singlecommit]} {
51245124
lappend disable_on_lock \
51255125
[list .mbar.commit entryconf [.mbar.commit index last] -state]
51265126

5127-
.mbar.commit add command -label {Add All To Commit} \
5127+
.mbar.commit add command -label {Add Existing To Commit} \
51285128
-command do_add_all \
51295129
-accelerator $M1T-I \
51305130
-font font_ui
@@ -5423,7 +5423,7 @@ pack .vpane.lower.commarea.buttons.rescan -side top -fill x
54235423
lappend disable_on_lock \
54245424
{.vpane.lower.commarea.buttons.rescan conf -state}
54255425

5426-
button .vpane.lower.commarea.buttons.incall -text {Add All} \
5426+
button .vpane.lower.commarea.buttons.incall -text {Add Existing} \
54275427
-command do_add_all \
54285428
-font font_ui
54295429
pack .vpane.lower.commarea.buttons.incall -side top -fill x

0 commit comments

Comments
 (0)