1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-01 23:07:55 +01:00

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>
This commit is contained in:
Petr Baudis 2008-09-25 01:39:13 +02:00 committed by Shawn O. Pearce
parent 2243ffcc6a
commit 0b32cab933

View file

@ -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]