git-update: Only check HEAD for matching pkgbase
commit50c0ee9ec45db7ceecaa333707873f45795fb38a
authorLukas Fleischer <lfleischer@archlinux.org>
Wed, 3 Jun 2015 10:12:13 +0000 (3 12:12 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Thu, 4 Jun 2015 09:25:01 +0000 (4 11:25 +0200)
tree7ba2bf48e83f2ba9c6f6448f6a2eb7d153b043de
parent643dae80ebe6c44abeac0545655788b12dabfbea
git-update: Only check HEAD for matching pkgbase

When renaming a package base, we want to keep commits of the former
package. Move the check that compares the package base name with the
repository name such that only HEAD is validated.

Fixes FS#45065.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
git-interface/git-update.py