aboutsummaryrefslogtreecommitdiff
path: root/git-gui/lib/branch_create.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'git-gui/lib/branch_create.tcl')
-rw-r--r--git-gui/lib/branch_create.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-gui/lib/branch_create.tcl b/git-gui/lib/branch_create.tcl
index 53dfb4ce6..3817771b9 100644
--- a/git-gui/lib/branch_create.tcl
+++ b/git-gui/lib/branch_create.tcl
@@ -183,6 +183,9 @@ method _create {} {
if {$spec ne {} && $opt_fetch} {
$co enable_fetch $spec
}
+ if {$spec ne {}} {
+ $co remote_source $spec
+ }
if {[$co run]} {
destroy $w