Re: Git feature request: mark a commit as minor

2015-10-03 Thread Jacob Keller
On Fri, Oct 2, 2015 at 11:44 PM, Felipe Micaroni Lalli wrote: > Actually we already use the keyword MINOR for that, exactly as you said. > > The suggestion was made because I think it is a common behavior and it > would be nice to be a meta info to standardize this (today each team > adopt a diffe

Re: Git feature request: mark a commit as minor

2015-10-03 Thread Felipe Micaroni Lalli
You are right. It could be useful to fix old commits (already pushed) but it could encourage bad practices. Minor changes should be avoided, it is an exception, not a rule. Thank you Fredrik. On 03/10/2015 15:12, Fredrik Gustafsson wrote: > On Fri, Oct 02, 2015 at 06:38:46PM -0300, Felipe Micaro

Re: Git feature request: mark a commit as minor

2015-10-03 Thread Fredrik Gustafsson
On Fri, Oct 02, 2015 at 06:38:46PM -0300, Felipe Micaroni Lalli wrote: > A minor change (also called "cosmetic") usually is a typo fix, doc > improvement, a little code refactoring that don't change the behavior etc. > > In Wikipedia we can mark an edition as "minor". > > It would be nice to have

Re: Git feature request: mark a commit as minor

2015-10-02 Thread Felipe Micaroni Lalli
Thank you Jacob. Actually we already use the keyword MINOR for that, exactly as you said. The suggestion was made because I think it is a common behavior and it would be nice to be a meta info to standardize this (today each team adopt a different pattern for that - you used "TRIVIAL" e.g.). Nice

Re: Git feature request: mark a commit as minor

2015-10-02 Thread Mikael Magnusson
On Sat, Oct 3, 2015 at 8:11 AM, Jacob Keller wrote: > On Fri, Oct 2, 2015 at 2:38 PM, Felipe Micaroni Lalli > wrote: >> A minor change (also called "cosmetic") usually is a typo fix, doc >> improvement, a little code refactoring that don't change the behavior etc. >> >> In Wikipedia we can mark a

Re: Git feature request: mark a commit as minor

2015-10-02 Thread Jacob Keller
On Fri, Oct 2, 2015 at 2:38 PM, Felipe Micaroni Lalli wrote: > A minor change (also called "cosmetic") usually is a typo fix, doc > improvement, a little code refactoring that don't change the behavior etc. > > In Wikipedia we can mark an edition as "minor". > > It would be nice to have an argumen

Git feature request: mark a commit as minor

2015-10-02 Thread Felipe Micaroni Lalli
A minor change (also called "cosmetic") usually is a typo fix, doc improvement, a little code refactoring that don't change the behavior etc. In Wikipedia we can mark an edition as "minor". It would be nice to have an argument like "--minor" in git-commit to mark the commit as minor. Also, filter