diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-05-28 21:05:39 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-05-28 21:56:25 +0100 |
commit | 80918558e4679976bb64c133312eb02579b13cdc (patch) | |
tree | 7229033303e186b52c10bb3d24c1b9abb4897064 /Debian | |
parent | 090ba001a795f4f123152dd5c53809ae6a0a954b (diff) |
dgit/gdr: playtrees: Provide a gbp.conf
This lets us override certain settings to make sure gbp behaves the
way we want.
So far, the only setting is "--ignore-new = false" which is there
solely to catch bugs. As I wrote in #1005873
The difficulty [in this bug] is just the .pc directory. Perhaps
dgit ought to remove it or move it aside, before running gbp pq.
If we did that then we might want to explicitly *enable* the new
checks.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'Debian')
-rw-r--r-- | Debian/Dgit.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 4059e2b..a530f0f 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -1077,6 +1077,13 @@ sub playtree_setup () { open GA, "> .git/info/attributes" or confess "$!"; print GA "* $negate_harmful_gitattrs\n" or confess "$!"; close GA or confess "$!"; + + open GC, "> .git/gbp.conf" or confess "$!"; + print GC <<'END' or confess $!; +[pq] +ignore-new = false +END + close GC or confess "$!"; } 1; |