summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-10-03 12:02:43 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-10-03 12:10:25 +0200
commit62c13e2c0c55dfee703245b3a210f8d0e2eb5c5e (patch)
tree87becc9ab956e0c9df930d28cdc550c2fbaf3f53 /web/lib/pkgfuncs.inc.php
parent4fe513d838373575cf173fafbd0bc6e7ce30090a (diff)
downloadaurweb-62c13e2c0c55dfee703245b3a210f8d0e2eb5c5e.tar.xz
Do not show ".SRCINFO unchanged" warning on restore
Since 612300b (Show a warning if .SRCINFO is unchanged, 2015-09-29), the git-update script displays a warning when a ref update does not affect the content of the package base meta data. We also invoke git-update to rebuild the package base details in the aurweb database when a package base is restored via the SSH interface. In that case, fake information is passed to the update hook: Both the old and the new object IDs refer to the current HEAD. Check for such "Everything up-to-date" updates and not display the ".SRCINFO unchanged" in these cases. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
0 files changed, 0 insertions, 0 deletions