aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2011-10-18 09:32:22 +0100
committerPat Thoyts <patthoyts@users.sourceforge.net>2011-10-18 09:44:10 +0100
commit99665fc58269cfd608558cc0afbc53824703fc6b (patch)
tree8e7a9a389eb16a8c92045b40533e47514d1bca17
parentbb196e2619652f02f3459ad9464a18ccdebe3ebf (diff)
downloadgit-99665fc58269cfd608558cc0afbc53824703fc6b.tar.gz
git-99665fc58269cfd608558cc0afbc53824703fc6b.tar.xz
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>
-rw-r--r--lib/index.tcl3
1 files changed, 2 insertions, 1 deletions
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} {