chiark / gitweb /
Dgit.pm: Move $maindir* up the file.
[dgit.git] / Debian / Dgit.pm
index 9d2e471948173fa33f38294b80daced55d5f8b07..69db866f2a1db8734ed0ca13209503669e91a4f5 100644 (file)
@@ -105,6 +105,11 @@ our $gdrlast_refprefix = 'debrebase-last';
 our $printdebug_when_debuglevel = 1;
 our $debugcmd_when_debuglevel = 1;
 
+# these three all go together, only valid after record_maindir
+our $maindir;
+our $maindir_gitdir;
+our $maindir_gitcommon;
+
 # policy hook exit status bits
 # see dgit-repos-server head comment for documentation
 # 1 is reserved in case something fails with `exit 1' and to spot
@@ -758,11 +763,6 @@ sub make_commit_text ($) {
 
 # ----- maindir -----
 
-# these three all go together
-our $maindir;
-our $maindir_gitdir;
-our $maindir_gitcommon;
-
 our $local_git_cfg;
 
 sub record_maindir () {