git-update: Do not overwrite the repo variable

The repo variable is already used to store the pygit2.Repository.

Fixes a regression introduced in d273ee5 (Use the official provider list
to detect duplicates, 2016-05-17).

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2016-08-22 08:16:47 +02:00
parent 29625e0744
commit e3bcf83feb
2 changed files with 2 additions and 3 deletions

View file

@ -396,7 +396,7 @@ test_expect_success 'Pushing a package already in the official repositories.' '
test_cmp expected actual
'
test_expect_failure 'Pushing a package already in the official repositories as Trusted User.' '
test_expect_success 'Pushing a package already in the official repositories as Trusted User.' '
old=$(git -C aur.git rev-parse HEAD) &&
test_when_finished "git -C aur.git reset --hard $old" &&
echo "pkgname = official" >>aur.git/.SRCINFO &&