From: Ian Jackson Date: Sun, 31 May 2015 17:30:40 +0000 (+0100) Subject: Infra: dgit-repos-server; In NOFFCHECK but not FRESHREPO case, do not request wrong... X-Git-Tag: debian/0.30~110 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=550a4d5ca9ea2dc83403d6aae926cd151a7fa2aa Infra: dgit-repos-server; In NOFFCHECK but not FRESHREPO case, do not request wrong ref name --- diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server index 5a87b891..b43d5745 100755 --- a/infra/dgit-repos-server +++ b/infra/dgit-repos-server @@ -729,7 +729,7 @@ sub checktagnoreplay () { } } else { my $branch= server_branch($suite); - my $branchhead= git_get_ref($branch); + my $branchhead= git_get_ref(server_ref($suite)); if (!length $branchhead) { # No such branch - NOFFCHECK was unnecessary. Oh well. printdebug "checktagnoreplay - not FRESHREPO, new branch, ok\n";