I’m playing around with project-workflows and Git and I’d like to figure out a nice way to “talk” to the main-repository.
One thing I’m wondering is how to realize a magical reference like the “for” used by Gerrit where commits are push to “refs/for/xxxx/topic” in order to set the final target branch without placing things directly there. Is there a way to do this with pre/post receive hooks our is that a special feature of their Java implementation?
Cheers
refs/for/branchis a “magic” feature of the Gerrit git server. As far as I’m aware, there’s no way to replicate it using the defaultgit-receive-packorgit-http-serverimplementations.