From 698dc5075b0494a8ba396e1bd0a785443b10f7ff Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Jul 2019 01:07:55 +0100 Subject: 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 --- Debian/Dgit.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Debian') 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; -- cgit v1.2.3