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: https://git.lorimer.id.au/gitweb.git/diff_plain/99665fc58269cfd608558cc0afbc53824703fc6b?ds=inline;hp=--cc git-gui: include the number of untracked files to stage when asking the user Signed-off-by: Bert Wesarg Signed-off-by: Pat Thoyts --- 99665fc58269cfd608558cc0afbc53824703fc6b diff --git a/lib/index.tcl b/lib/index.tcl index 45094c2672..8efbbdde21 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} {