From: Ian Jackson Date: Sun, 21 Jul 2019 00:07:55 +0000 (+0100) Subject: Dgit.pm: Provide @git X-Git-Tag: archive/debian/9.5~25 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=698dc5075b0494a8ba396e1bd0a785443b10f7ff 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 --- diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 4f9aac92..3f1d1b7b 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; diff --git a/dgit b/dgit index 0e0ff657..ed8bbeb8 100755 --- a/dgit +++ b/dgit @@ -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 70b00608..06f56d87 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 ($) {