From: Pat Thoyts Date: Tue, 18 Oct 2011 08:32:22 +0000 (+0100) Subject: git-gui: include the number of untracked files to stage when asking the user X-Git-Tag: gitgui-0.15.0~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99665fc58269cfd608558cc0afbc53824703fc6b;p=git.git git-gui: include the number of untracked files to stage when asking the user Signed-off-by: Bert Wesarg Signed-off-by: Pat Thoyts --- diff --git a/lib/index.tcl b/lib/index.tcl index 45094c267..8efbbdde2 100644 --- a/lib/index.tcl +++ b/lib/index.tcl @@ -377,7 +377,8 @@ proc do_add_all {} { } ask - default { - set reply [ask_popup [mc "Stage also untracked files?"]] + set reply [ask_popup [mc "Stage %d untracked files?" \ + [llength $untracked_paths]]] } } if {$reply} {