chiark / gitweb /
directory refactoring: dgit clone: call record_maintree
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 733e6ea..a67c12c 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3590,6 +3590,7 @@ sub clone ($) {
     mkdir $dstdir or fail "create \`$dstdir': $!";
     changedir $dstdir;
     runcmd @git, qw(init -q);
+    record_maindir();
     setup_new_tree();
     clone_set_head();
     my $giturl = access_giturl(1);