Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Add support for adding remotes
[gitweb.git]
/
lib
/
branch_create.tcl
diff --git
a/lib/branch_create.tcl
b/lib/branch_create.tcl
index 53dfb4ce6bb053349fbed39af8ffaf5a143b6567..3817771b944cc363205b86c91f7b4801c1d568f9 100644
(file)
--- a/
lib/branch_create.tcl
+++ b/
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