chiark / gitweb /
dgit: Move up $sourcechanges
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Jul 2018 07:20:54 +0000 (08:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Jul 2018 09:20:25 +0000 (10:20 +0100)
This is not really ideal, but cmd_push_source needs it.  For now do it
like this.  I may move cmd_push_source further down the file, later,
and then we can revert this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 3afaf193a4127e320ce611162b9f5f896086350f..517f50a853ae83f45f96b4f7297678a553c48692 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4756,6 +4756,8 @@ sub cmd_push {
     dopush();
 }
 
+our $sourcechanges;
+
 sub cmd_push_source {
     prep_push();
     fail "dgit push-source: --include-dirty/--ignore-dirty does not make".
@@ -5062,7 +5064,6 @@ sub i_want_signed_dsc_changes {
 #---------- building etc. ----------
 
 our $version;
-our $sourcechanges;
 our $dscfn;
 
 #----- `3.0 (quilt)' handling -----