projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb196e2
)
git-gui: include the number of untracked files to stage when asking the user
author
Pat Thoyts
<patthoyts@users.sourceforge.net>
Tue, 18 Oct 2011 08:32:22 +0000
(09:32 +0100)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Tue, 18 Oct 2011 08:44:10 +0000
(09:44 +0100)
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/index.tcl
patch
|
blob
|
history
diff --git
a/lib/index.tcl
b/lib/index.tcl
index 45094c267209e4600bfd1ed373f03c24904739e0..8efbbdde21123dd65412cd5fe6dbb506966b0af9 100644
(file)
--- 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} {