chiark / gitweb /
git fetching: Do not crash if nothing we wanted to fetch exists
[dgit.git] / dgit
diff --git a/dgit b/dgit
index d524bd2..9393bdd 100755 (executable)
--- 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;