git-gui: include the number of untracked files to stage when asking the user

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>

Pat Thoyts committed Oct 18, 2011 at 09:32 UTC 99665fc58269cfd608558cc0afbc53824703fc6b
1 file changed +2 -1
lib/index.tcl
+2 -1
@@ -377,7 +377,8 @@ proc do_add_all {} {
377 }
378 ask -
379 default {
380 - set reply [ask_popup [mc "Stage also untracked files?"]]
380 + set reply [ask_popup [mc "Stage %d untracked files?" \
381 + [llength $untracked_paths]]]
382 }
383 }
384 if {$reply} {