We should pass a null ref to --internal-updated-from such that we know we have newly cloned the release clone.
Might come handy in the future.
Furthermore related to this problem and a bit trickier:
I installed with a local path as the clone url -> /data/git/repositories/githooks.git (on a gitea server)
This results in a stupid legacy_transform_after_update because --depth 1 is not honoured for local paths (git stuff) and the if [ "$COMMIT_COUNT" != "1" ] passes... :bomb:
This fix resolves this problem!
Thanks for merging.
We should pass a null ref to
--internal-updated-from
such that we know we have newly cloned the release clone. Might come handy in the future.Furthermore related to this problem and a bit trickier:
/data/git/repositories/githooks.git
(on a gitea server)legacy_transform_after_update
because--depth 1
is not honoured for local paths (git stuff) and theif [ "$COMMIT_COUNT" != "1" ]
passes... :bomb: This fix resolves this problem!