diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-07-21 01:07:55 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-07-21 01:37:14 +0100 |
commit | 698dc5075b0494a8ba396e1bd0a785443b10f7ff (patch) | |
tree | 1465bf6cbb6511237139c77f188b2aabb15f1298 | |
parent | ffb9335e93d9c539dd61e62cf1ebcd834e363d72 (diff) |
Dgit.pm: Provide @git
This clears the way for some parts of Dgit.pm to honour dgit's
git invocation conventions.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | Debian/Dgit.pm | 3 | ||||
-rwxr-xr-x | dgit | 1 | ||||
-rwxr-xr-x | git-debrebase | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 4f9aac9..3f1d1b7 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -56,6 +56,7 @@ BEGIN { waitstatusmsg failedcmd_waitstatus failedcmd_report_cmd failedcmd runcmd shell_cmd cmdoutput cmdoutput_errok + @git git_rev_parse changedir_git_toplevel git_cat_file git_get_ref git_get_symref git_for_each_ref git_for_each_tag_referring is_fast_fwd @@ -113,6 +114,8 @@ our $gdrlast_refprefix = 'debrebase-last'; our $printdebug_when_debuglevel = 1; our $debugcmd_when_debuglevel = 1; +our (@git) = qw(git); + # these three all go together, only valid after record_maindir our $maindir; our $maindir_gitdir; @@ -117,7 +117,6 @@ our $rewritemap = 'dgit-rewrite/map'; our @dpkg_source_ignores = qw(-i(?:^|/)\.git(?:/|$) -I.git); -our (@git) = qw(git); our (@dget) = qw(dget); our (@curl) = (qw(curl --proto-redir), '-all,http,https', qw(-L)); our (@dput) = qw(dput); diff --git a/git-debrebase b/git-debrebase index 70b0060..06f56d8 100755 --- a/git-debrebase +++ b/git-debrebase @@ -121,7 +121,6 @@ our $playprefix = 'debrebase'; our $rd; our $workarea; -our @git = qw(git); our @dgit = qw(dgit); sub in_workarea ($) { |