Code

git-gui: Fix fetching from remotes when adding them
authorPetr Baudis <pasky@suse.cz>
Wed, 24 Sep 2008 23:39:13 +0000 (01:39 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 30 Sep 2008 19:59:37 +0000 (12:59 -0700)
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>
lib/remote_add.tcl

index 8e3ad166b70d990cb771c7c00a1501338c7c5d2c..fb29422aa7b9bacb78d33026b825d19ab3399e95 100644 (file)
@@ -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]