Jakub Narebski wrote: > This is a very nice idea, IMHO, both because it makes it simple to > implement no-op (example) hook by just using "cat", and beause it > makes possible to stack such hooks (e.g. one from git-annex with the > one from pristine-tar etc.). Indeed. > One thing that needs to be specified is what should happen if the hook > changes "the refname at the remote" part... I'm not sure what the use case is for including the remote's refname is yet. Changing it would allow changing what's written into FETCH_HEAD though. For example: -2ce0edcd786b790fed580e7df56291619834d276 not-for-merge branch 'maint' of git://git.kernel.org/pub/scm/git/git +2ce0edcd786b790fed580e7df56291619834d276 not-for-merge branch 'jc-maint' of git://git.kernel.org/pub/scm/git/git And that would in turn be used by a few things that consume that information. Whether that's useful, I don't know. -- see shy jo
Attachment:
signature.asc
Description: Digital signature