diff options
| author | Pat Thoyts <patthoyts@users.sourceforge.net> | 2011-10-18 09:32:22 +0100 |
|---|---|---|
| committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2011-10-18 09:44:10 +0100 |
| commit | 99665fc58269cfd608558cc0afbc53824703fc6b (patch) | |
| tree | 8e7a9a389eb16a8c92045b40533e47514d1bca17 | |
| parent | bb196e2619652f02f3459ad9464a18ccdebe3ebf (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.tcl | 3 |
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} { |
