Handle symbolic refs in post-receive-email #1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
When symbolic refs are in use (like master == main) commit email do not contain the diffs anymore.
I think the culprit is in the
show_new_revisionsfunction of thepost-receive-emailscript, which tries to find which revisions are not accessible in other refs (while not skipping the symbolic refs)It's in this snippet:
This could maybe be fixed by massaging the output of
for-each-refto rename symbolic refs to their proper name...Affected projects:
Note that the GEOS project fixed this by dropping the symbolic ref
Confirmed it works again:
https://lists.osgeo.org/pipermail/postgis-tickets/2021-July/023868.html