From: Petr Baudis Date: Wed, 24 Sep 2008 23:39:13 +0000 (+0200) Subject: git-gui: Fix fetching from remotes when adding them X-Git-Tag: v1.6.1-rc1~3^2~26 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0b32cab933e0d3d1e85d4cb86669e33ef478ef66;p=git.git 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 Signed-off-by: Shawn O. Pearce --- diff --git a/lib/remote_add.tcl b/lib/remote_add.tcl index 8e3ad166b..fb29422aa 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]