Re:Four rules for effective collaboration – Guidelines for b...
by ozim on Wednesday March 07, 2018 @04:28PM
(#16540068)
From what I see you just agree with my comment. Those 5 commits you described as example are the way I would do it.
The way it is described in article would make you do it in one commit and add information that would be in the ticket.
Re:Four rules for effective collaboration – Guidelines for b...
by deiwin on Thursday March 08, 2018 @12:26AM
(#16542499)
Also, the ticket and the commits can provide answers to the same questions without being redundant. The answers are just at a different level of abstraction and for different readers. Tickets usually describe product-level decisions, while commits describe implementation-specific details. E.g. a ticket may discuss alternative user flows, while a related commit explains why a specific algorithm, module, or default configuration value was used.
Not only that but the ticket is a full feature. Maybe it took 5 commits to get there: "Fix bad indenting", "Extract base logic to command object", "Update I18N entries", "Add missing tests for current behavior", "Add the feature asked for".