module documentation
Common repository setup functionality.
Function | check |
Verify the treeish doesn’t contain non-empty .gitattributes files. |
Function | is |
Return True if git attributes have been set up correctly: |
Function | set |
Undocumented |
Function | setup |
Setup .git/info/attributes in a way to prevent transformations from interfering with packaging, because the working tree files can differ from the Git revision history (and from the source packages). |
Variable | attr |
Undocumented |
Variable | dgit |
Undocumented |
Variable | dgit |
Undocumented |
Return True if git attributes have been set up correctly:
- dgit-defuse-attrs macro exists
- dgit-defuse-attrs includes attributes we’re interested in
- dgit-defuse-attrs is enabled for *
- export-subst and export-ignore are unset for *
Returns | |
bool | Undocumented |
Setup .git/info/attributes in a way to prevent transformations from interfering with packaging, because the working tree files can differ from the Git revision history (and from the source packages).
Similar functionality has been implemented by dgit and git-deborig, so we try to stay compatible and re-use the name of the attribute macro. Since dgit doesn’t disable export-subst and export-ignore, which may interfere with export-orig, we add this on top the same way git-deborig does.