git-update: Prevent from overwriting packages
commit58db1647322b29dd2f182ccf0e93879e2a2fb88f
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 4 Jun 2015 09:21:04 +0000 (4 11:21 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Thu, 4 Jun 2015 09:35:46 +0000 (4 11:35 +0200)
treecfe64e0422c1d84165c97955d23635df50f4c3ec
parentc4870a95fc54e7ca12c495fd63932a35418b9c83
git-update: Prevent from overwriting packages

Make sure we do not overwrite a package belonging to another package
base. We forgot to add this check to git-update when porting the package
submission script to Python in commit 74edb6f (Use Git repositories to
store packages, 2014-06-06).

Reported-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
git-interface/git-update.py