These are a potential cause of quilt linearisation failure.
Closes:#906199.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
     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.
 
  --
 
 
     }
     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?" ];