[SOLVED?] Recovery of deleted ports fails due to pre-commit checks

Mathieu Arnold mat at freebsd.org
Mon May 3 07:01:38 UTC 2021

On Sat, May 01, 2021 at 09:01:02PM +0200, Stefan Esser wrote:
> The recovery of deleted ports in their previous form is rejected
> by the pre-commit checks on the repository server:
> remote:
> remote: ================================================================
> remote: Do not commit ports without TIMESTAMP in their distinfo files.
> remote: Rerun make makesum to add it.
> remote: ================================================================
> remote:
> I have tried to revert the deletion with unchanged files and then
> updated the ports' Makefiles and distinfo files in a later commit.
> Pushing those commits all together fails with the message above,
> and in order to not confuse GIT, deleted files should be committed
> first, before applying any changes.

This is not needed at all, Git cannot get confused by something it has
no knowledge of. Once a file is deleted, or moved, the history tracking

Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20210503/a036dc12/attachment.sig>

More information about the freebsd-ports mailing list