Package: git
Version: 1:2.11.0-2

Using .gitattributes, a git tree can name transformations to be
applied to files as they are checked in and out (ie, as they are
transferred between the working tree on one hand, and the git index
and tree objects on the other).

Some programs, including dgit, need to disable the processing of such
attributes in some situations, even when working with trees which
contain .gitattributes files.

Currently this can be done by writing overriding entries to
.git/info/attributes.  However, for this to be effective it is
necessary to explicitly disable each relevant attribute.

This means that this approach will break each time new transformation
attributes are invented in git.

Please could there be a way to disable all such attributes, even ones
invented in the future.  Example techniques could include:
  * a git config option to suppress them
  * a git-defined "macro attribute" which disables all
    transforming attributes

Note that dgit does not want to disable the merge attribute, nor the
ones affecting diff and display.

Other dgit callers and users may want to disable other classes of
attribute too.  So it would be worth thinking about what attribute
classes might exist, and leaving room for new classes.

In the meantime dgit and its test suite have some workarounds which
you may read about so you can be properly appalled.  See
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851677

Thanks,
Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.

Reply via email to