@matheusbsbs / matheus-bagliano / commits / 0b32cab933
Fork 0

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>

Petr Baudis committed Sep 25, 2008 at 01:39 UTC 0b32cab933e0d3d1e85d4cb86669e33ef478ef66
1 file changed +3 -3
lib/remote_add.tcl
+3 -3
@@ -130,9 +130,9 @@ method _add {} {
130 switch -- $opt_action {
131 fetch {
132 set c [console::new \
133 - [mc "fetch %s" $remote] \
134 - [mc "Fetching the %s" $remote]]
135 - console::exec $c [list git fetch --all $name]
133 + [mc "fetch %s" $name] \
134 + [mc "Fetching the %s" $name]]
135 + console::exec $c [list git fetch $name]
136 }
137 push {
138 set cmds [list]