chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dry run fetch really does not update ref
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index 0fb928906f06833c553a8d7fc2c9b47d64f484cc..d160e185d21910546fa395af642a2c91c032d76a 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-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 () {