path: root/dgit
diff options
authorIan Jackson <>2019-07-05 14:07:08 +0100
committerIan Jackson <>2019-07-05 16:28:43 +0100
commit053ea1caf44b35a0eac2b3862337b24c04549394 (patch)
tree3b85a326ac344d9a7b64f3c9addc28c3d6948441 /dgit
parent2193c15cf92d4765da004a310bf684b61718eedf (diff)
dgit: Include quilt mode in archive/ tag in split view
After this, a program examining this tag can see one of the following possibilities: "split --quilt=<splitting>" splitting quilt view, `3.0 (quilt)' "split --quilt=<nonsplitting>" `3.0 (quilt)', mostly-dgit-compatible branch, but split view (bureaucracy commits not on maintainer branch) "no-split --quilt=<nonsplitting>" `3.0 (quilt)', maintainer uses dgit branch "split" / "no-split" non-`3.0 (quilt)' No "split" or "no-split" generated by old versions of dgit, quilt transformation information not captured in machine-readable form Signed-off-by: Ian Jackson <>
Diffstat (limited to 'dgit')
1 files changed, 4 insertions, 0 deletions
diff --git a/dgit b/dgit
index e9b2cd5..491cb23 100755
--- a/dgit
+++ b/dgit
@@ -4385,6 +4385,10 @@ END
%s release %s for %s (%s) [dgit]
or confess "$!";
+ unshift @dtxinfo, "--quilt=$quilt_mode" if madformat($format);
+ unshift @dtxinfo, do_split_brain() ? "split" : "no-split"
+ # rpush protocol 5 and earlier don't tell us
+ unless $we_are_initiator && $protovsn < 6;
my $dtxinfo = join(" ", "",@dtxinfo);
print TO <<END or confess "$!";
[dgit distro=$declaredistro$dtxinfo]