X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;h=f9c46c036cb00c037a6457e87546eac5f6a35c30;hb=9d4fe1fe846ac76795a42661aa4bb73335c07aad;hp=94adcb5fd856349b8a2ec52bb56d1de74738257a;hpb=5a4dc24f3a020c36a4171d5448cf8a0f50c91f75;p=dgit.git diff --git a/dgit b/dgit index 94adcb5f..f9c46c03 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 <