summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Petr Baudis <pasky@suse.cz>2008-09-25 01:39:13 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-09-30 12:59:37 -0700
commit0b32cab933e0d3d1e85d4cb86669e33ef478ef66 (patch)
treebe8065dab1e5ef04490faa3ff24d29b857215cd7 /lib
parentgit-gui: Fix removing non-pushable remotes (diff)
downloadtgif-0b32cab933e0d3d1e85d4cb86669e33ef478ef66.tar.xz
git-gui: Fix fetching from remotes when adding them
As you can see, this particular code branch did not see a lot of testing for some time now. Apologies for that. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/remote_add.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/remote_add.tcl b/lib/remote_add.tcl
index 8e3ad166b7..fb29422aa7 100644
--- a/lib/remote_add.tcl
+++ b/lib/remote_add.tcl
@@ -130,9 +130,9 @@ method _add {} {
switch -- $opt_action {
fetch {
set c [console::new \
- [mc "fetch %s" $remote] \
- [mc "Fetching the %s" $remote]]
- console::exec $c [list git fetch --all $name]
+ [mc "fetch %s" $name] \
+ [mc "Fetching the %s" $name]]
+ console::exec $c [list git fetch $name]
}
push {
set cmds [list]