X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;h=8911c8e2a35c1fe0d05df4e98f735744a0c47aaf;hb=0783d2b7923f56e004808cd68da81a6a4178f4fb;hp=94adcb5fd856349b8a2ec52bb56d1de74738257a;hpb=5a4dc24f3a020c36a4171d5448cf8a0f50c91f75;p=dgit.git diff --git a/dgit b/dgit index 94adcb5f..8911c8e2 100755 --- a/dgit +++ b/dgit @@ -659,11 +659,12 @@ sub fetch_from_archive () { if (defined $dsc_hash) { fail "missing git history even though dsc has hash -". " could not find commit $dsc_hash". - " (should be in ".access_giturl()."#".rref().")" + " (should be in ".access_giturl()."#".rrref().")" unless $upload_hash; $hash = $dsc_hash; ensure_we_have_orig(); - if (is_fast_fwd($dsc_hash,$upload_hash)) { + if ($dsc_hash eq $upload_hash) { + } elsif (is_fast_fwd($dsc_hash,$upload_hash)) { print STDERR <