chiark / gitweb /
dgit: push-source dies if user tried to include uncommitted changes
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 0a770cd09b91c6e18cf68922d8dfaaa2878b4777..470c0fd9fde00d1b02d26b93e37530ee1ffc2d80 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4758,6 +4758,8 @@ sub cmd_push {
 
 sub cmd_push_source {
     prep_push();
+    fail "dgit push-source: --include-dirty/--ignore-dirty does not make".
+      "sense with push-source!" if $includedirty;
     if ($changesfile) {
         my $changes = parsecontrol("$buildproductsdir/$changesfile",
                                    "source changes file");