chiark / gitweb /
Do not fail when cloning a package containing dangling symlinks.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 19 Dec 2016 13:37:30 +0000 (13:37 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 19 Dec 2016 16:58:57 +0000 (16:58 +0000)
Closes:#848512.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit

index bb5db14..bca0690 100644 (file)
@@ -17,6 +17,8 @@ dgit (2.12~) unstable; urgency=medium
     Closes:#847658.
   * By default, generate a DEP-14 tag as well as a dgit archive/*
     tag, even in non-split-view quilt modes.  Closes:#844129.
+  * Do not fail when cloning a package containing dangling symlinks.
+    Closes:#848512.
 
   Test suite:
   * Provide and use stunt lintian and debuild, to avoid lintian
diff --git a/dgit b/dgit
index 7996227..992d2da 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3271,7 +3271,7 @@ sub clone_finish ($) {
     runcmd qw(bash -ec), <<'END';
         set -o pipefail
         git ls-tree -r --name-only -z HEAD | \
-        xargs -0r touch -r . --
+        xargs -0r touch -h -r . --
 END
     printdone "ready for work in $dstdir";
 }