From: Ian Jackson Date: Sun, 8 Jan 2017 02:11:57 +0000 (+0000) Subject: git fetching: Do not crash if nothing we wanted to fetch exists X-Git-Tag: archive/debian/3.0~68 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=c35d643a5117ac3ed2d4966a0db0427266e924b9 git fetching: Do not crash if nothing we wanted to fetch exists Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index d524bd2d..9393bdd9 100755 --- a/dgit +++ b/dgit @@ -2592,7 +2592,8 @@ END my @fcmd = (@git, qw(fetch -p -n -q), access_giturl(), @fspecs); runcmd_ordryrun_local @git, qw(fetch -p -n -q), access_giturl(), - @fspecs; + @fspecs + if @fspecs; %lrfetchrefs_f = (); my %objgot;