Browse Source

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>
maint
Petr Baudis 16 years ago committed by Shawn O. Pearce
parent
commit
0b32cab933
  1. 6
      lib/remote_add.tcl

6
lib/remote_add.tcl

@ -130,9 +130,9 @@ method _add {} { @@ -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]

Loading…
Cancel
Save