Re: RFE: support change-id generation natively
- From
james.moger@gitblit.com <james.moger@gitblit.com>
- Date
- Oct 24, 2013, 12:11 UTC
- Message-ID
- <1382616665.23343.37953397.70FB76CB@webmail.messagingengine.com>
- In-Reply-To
- <5268B7D6.5050106@viscovery.net>
> That said, I don't think that --change-id option that the user must not > forget to use is any better than a hook that the user must not forget to > install.
Having a --change-id option, to my mind, simplifies use of the patch workflow as it does not require downloading, copying and setting executable a hook script per-repository or globally. I agree that forgetting to add it on the command-line is a potential problem. This could be improved by honoring the "gerrit.createchangeid" value (or whatever setting name is appropriate). Of course that still requires configuring the repo after clone, but it's clean and straight-forward since it is all plain "git config".
-J