chiark / gitweb /
dgit: gitattributes: Defuse working-tree-encoding
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Jun 2018 13:10:02 +0000 (14:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Jun 2018 13:29:38 +0000 (14:29 +0100)
commit5099a42730ecb2a33152826a623d545f60fea77e
tree03d2c10435508ad50d8f0bc1750635582392ac33
parent1cf29315dda6f4d7aa1ae6f9b5800b35173040c6
dgit: gitattributes: Defuse working-tree-encoding

* Add -working-tree-encoding to $negate_harmful_gitattrs.

* Add new arrangements for updating an existing dgit-defuse-attrs
  macro definition:
    - is_gitattrs: say whether the macro is up to date
    - setup_gitattrs: update an existing out-of-date macro
    - minor message changes
    - document the new behaviour

One consequence is that we have had to breach the promise about how to
stop future dgit setup-new-tree runs messing with this: it is now
necessary to disapply the macro, rather than redefine it.

Closes:#901900.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit.pm
dgit
dgit.1