Multi-commit PRs vs. multiple single-commit PRs

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 22 04:26:49 PDT 2017


On Wednesday, 22 March 2017 at 10:49:37 UTC, Vladimir Panteleev 
wrote:
> On Wednesday, 22 March 2017 at 10:43:46 UTC, Daniel N wrote:
>> On Wednesday, 22 March 2017 at 09:02:24 UTC, Vladimir 
>> Panteleev wrote:
>>> Importantly, Gerrit does not squash commits - you are 
>>> expected to squash fixup commits yourself.
>>
>> You can configure Gerrit to do virtually anything, including 
>> squashing, even cherry-pick if you fancy.
>
> Ah, thanks. Could you link me to the relevant documentation? 
> Looking at 
> https://bugs.chromium.org/p/gerrit/issues/detail?id=1254, it 
> seems Gerrit can't handle multiple commits in any scenarios 
> right now.
>
> Either way, I guess it doesn't squash a series of 
> inter-dependent commits/reviews into one :)

https://gerrit-review.googlesource.com/Documentation/project-configuration.html#submit_type

It's also possible to extend the basic functionality with plugins.



More information about the Digitalmars-d mailing list