Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2011-10-18 12:32:22 +0400
committerPat Thoyts <patthoyts@users.sourceforge.net>2011-10-18 12:44:10 +0400
commit99665fc58269cfd608558cc0afbc53824703fc6b (patch)
tree8e7a9a389eb16a8c92045b40533e47514d1bca17
parentbb196e2619652f02f3459ad9464a18ccdebe3ebf (diff)
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 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} {