summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-04-23 01:16:06 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-06-16 22:40:14 +0100
commitbc95a2402f9e765113ef38d12d642a3340132049 (patch)
treeb7acc849b4af0c4ed330094de8d27f5e2785eeb7 /dgit
parentd51c2ac366c86d1dd3cc9ac04d5b3b14b1ff23c5 (diff)
dgit: Bail if single-debian-patch needs committing with --quilt=nofix
Also, if the user invokes dgit push with uncommitted debian/patches/. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgit b/dgit
index b43308d..2a581f3 100755
--- a/dgit
+++ b/dgit
@@ -3727,6 +3727,7 @@ sub commit_quilty_patch () {
progress "nothing quilty to commit, ok.";
return;
}
+ quiltify_nofix_bail "", " (wanted to commit patch update)";
my @adds = map { s/[][*?\\]/\\$&/g; $_; } sort keys %adds;
runcmd_ordryrun_local @git, qw(add -f), @adds;
commit_admin <<END