From 99665fc58269cfd608558cc0afbc53824703fc6b Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Tue, 18 Oct 2011 09:32:22 +0100 Subject: [PATCH] git-gui: include the number of untracked files to stage when asking the user Signed-off-by: Bert Wesarg Signed-off-by: Pat Thoyts --- lib/index.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} { -- 2.26.2