diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-16 15:01:12 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-16 15:01:12 +0100 |
commit | 2b11580e5274e1919fd21da4d0fa2dd19b2c0fea (patch) | |
tree | 8ae1436558fba87ed4310d35234a7837fd08743a /dgit | |
parent | 39c6c123ab730d42ec7c9ed01c30e0175c7691e7 (diff) |
dry run fetch really does not update ref
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -346,7 +346,8 @@ sub is_fast_fwd ($$) { } sub git_fetch_us () { - runcmd_ordryrun @git, qw(fetch),$remotename,fetchspec(); + die "cannot dry run with fetch" if $dryrun; + runcmd @git, qw(fetch),$remotename,fetchspec(); } sub fetch_from_archive () { |