From 0b32cab933e0d3d1e85d4cb86669e33ef478ef66 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 25 Sep 2008 01:39:13 +0200 Subject: [PATCH] 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 --- lib/remote_add.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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] -- 2.26.2