[PATCH] git-gui: Fix fetching from remotes when adding them
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 24, 2008, 23:39 UTC
- Message-ID
- <1222299553-5217-1-git-send-email-pasky@suse.cz>
- In-Reply-To
- <20080924204615.625864882@suse.cz>
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>
--- git-gui/lib/remote_add.tcl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/git-gui/lib/remote_add.tcl b/git-gui/lib/remote_add.tcl index 8e3ad16..fb29422 100644 --- a/git-gui/lib/remote_add.tcl +++ b/git-gui/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]
-- tg: (17f0c43..) t/git-gui/remote-fetch (depends on: git-gui/remotes)