Skip to content

Commit

Permalink
git-gui: Fix fetching from remotes when adding them
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Baudis authored and Shawn O. Pearce committed Sep 30, 2008
1 parent 2243ffc commit 0b32cab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/remote_add.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 0b32cab

Please sign in to comment.