summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-20 01:59:08 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-20 01:59:08 +0100
commitb8effc17a1aadcfdf3524157555a8656cc94369f (patch)
tree75d406310aeb6e75dce71deb34ee1512dc97beac
parenta88577467219f6813799d41cc80ae32c176cd8a5 (diff)
dgit: quilt fixup: Maybe mention gitattributes
These are a potential cause of quilt linearisation failure. Closes:#906199. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--debian/changelog2
-rwxr-xr-xdgit5
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0d38ee7..c17232f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,8 @@ dgit (6.7~) unstable; urgency=medium
a commit made by git-debrebase. Closes:#906197.
* dgit(1), dgit(7): Document that we do not suppress attributes
which affect git-archive. This is related to #906199.
+ * dgit: Mention gitattributes as a potential problem in quilt
+ linearisation failure, when appropriate. Closes:#906199.
--
diff --git a/dgit b/dgit
index a2ca2db..e752108 100755
--- a/dgit
+++ b/dgit
@@ -5930,6 +5930,11 @@ END
}
push @failsuggestion, [ 'quilt-mode',
"Maybe you need one of --[quilt=]gbp --[quilt=]dpm --quilt=unapplied ?" ];
+
+ push @failsuggestion, [ 'gitattrs',
+ "Warning: Tree has .gitattributes. See GITATTRIBUTES in dgit(7)." ]
+ if stat_exists '.gitattributes';
+
push @failsuggestion, [ 'origs',
"Maybe orig tarball(s) are not identical to git representation?" ];