@matheusbsbs / matheus-bagliano / commits / 24d2bf2f02
Fork 0

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>

Shawn O. Pearce committed Feb 8, 2007 at 19:44 UTC 24d2bf2f02c104b8402e2c19b383aecd1e2ccf17
1 file changed +2 -2
git-gui.sh
+2 -2
@@ -5124,7 +5124,7 @@ if {[is_enabled multicommit] || [is_enabled singlecommit]} {
5124 lappend disable_on_lock \
5125 [list .mbar.commit entryconf [.mbar.commit index last] -state]
5126
5127 - .mbar.commit add command -label {Add All To Commit} \
5127 + .mbar.commit add command -label {Add Existing To Commit} \
5128 -command do_add_all \
5129 -accelerator $M1T-I \
5130 -font font_ui
@@ -5423,7 +5423,7 @@ pack .vpane.lower.commarea.buttons.rescan -side top -fill x
5423 lappend disable_on_lock \
5424 {.vpane.lower.commarea.buttons.rescan conf -state}
5425
5426 -button .vpane.lower.commarea.buttons.incall -text {Add All} \
5426 +button .vpane.lower.commarea.buttons.incall -text {Add Existing} \
5427 -command do_add_all \
5428 -font font_ui
5429 pack .vpane.lower.commarea.buttons.incall -side top -fill x