chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dgit clone: No longer create an "origin" remote
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index 2d6eb858f91703ae29f4dd7889049cc56a280cad..cde85468cfcad54ec99661f9d0ec0d02c2572c4e 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-3882,14
+3882,9
@@
sub clone ($) {
record_maindir();
setup_new_tree();
clone_set_head();
record_maindir();
setup_new_tree();
clone_set_head();
- my $giturl = access_giturl(1);
- if (defined $giturl) {
- runcmd @git, qw(remote add), 'origin', $giturl;
- }
if ($hasgit) {
progress __ "fetching existing git history";
git_fetch_us();
if ($hasgit) {
progress __ "fetching existing git history";
git_fetch_us();
- runcmd_ordryrun_local @git, qw(fetch origin);
} else {
progress __ "starting new git history";
}
} else {
progress __ "starting new git history";
}