--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Capitalized, short (50 chars or less) summary
Ideally, the entire description should also bewrapped to 72 characters so that tools like git log can fit theentire commit message in a standard-sized terminal window.
(dammit, I keep forgetting to change my from address)
-christian
On 17 Jan 2013 07:07, "Greg Thompson" <g...@chromium.org> wrote:
>
> On Wed, Jan 16, 2013 at 9:11 PM, Christian Biesinger <cbies...@chromium.org> wrote:
>>
>> On Wed, Jan 16, 2013 at 6:07 PM, Peter Kasting <pkas...@chromium.org> wrote:
>> >> Ideally, the entire description should also be
>> >> wrapped to 72 characters so that tools like git log can fit the
>> >> entire commit message in a standard-sized terminal window.
>> >
>> >
>> > If we're going to enforce a line length limit, I'd really prefer we use 80,
>> > for consistency with the code. It'd actually be fairly annoying for me to
>> > wrap at 72. (It's somewhat annoying to wrap at 80 too, but I'll live with
>> > that if it makes others' lives better.)
>>
>> Wrapping at 80 doesn't work, because git log indents your commit
>> message by a few spaces, and a git revert by a few more, so to stay
>> under 80 for the total you need 72.
>
>
> This sounds like a shortcoming of git that should be fixed in git rather than in the bajillion developers using git.
Git intentionally doesn't wrap commit messages in order to avoid damaging formatting in cases where long lines were intentional/significant (e.g. source/output samples). Also, git commits are designed to be transmittable via plaintext email, which also has similar wrapping preferences in many mail clients (or mail client users).
You can disagree about the value of these reasons, but git does what it does intentionally and is not going to change.
On Thu, Jan 17, 2013 at 5:02 PM, Vadim Bendebury <vbe...@google.com> wrote:We used to have mandatory TEST= lines for a while, it didn't work out.
> May i suggest that each change description contains a section describing how
> the change was tested.
>
> This is very useful for many reasons, in particular:
>
> - helps the reviewer understand if the change was adequately tested
> - helps the SQA personnel to retest the change
Too many people just left them empty or wrote "TEST=unit tests".
On Thu, Jan 17, 2013 at 5:02 PM, Vadim Bendebury <vbe...@google.com> wrote:We used to have mandatory TEST= lines for a while, it didn't work out.
> May i suggest that each change description contains a section describing how
> the change was tested.
>
> This is very useful for many reasons, in particular:
>
> - helps the reviewer understand if the change was adequately tested
> - helps the SQA personnel to retest the change
Too many people just left them empty or wrote "TEST=unit tests".
On Fri, Jan 18, 2013 at 7:47 AM, Victor Khimenko <kh...@chromium.org> wrote:This seems odd to me: if you change some code without introducing new
>
> On Fri, Jan 18, 2013 at 5:35 AM, Nico Weber <tha...@chromium.org> wrote:
>>
>> On Thu, Jan 17, 2013 at 5:02 PM, Vadim Bendebury <vbe...@google.com>
>> wrote:
>> > May i suggest that each change description contains a section describing
>> > how
>> > the change was tested.
>> >
>> > This is very useful for many reasons, in particular:
>> >
>> > - helps the reviewer understand if the change was adequately tested
>> > - helps the SQA personnel to retest the change
>>
>> We used to have mandatory TEST= lines for a while, it didn't work out.
>> Too many people just left them empty or wrote "TEST=unit tests".
>>
> That's kind of understandable: most CLs I ever write have NOTHING to test.
> Why? Because they have no new functionality. They move things around, add or
> remove variables, etc. Sure, at some point I *do* commit change which is
> externally-visible testable change (otherwise my work is kind of pointless)
> but these are rare. For most CLs I only need green bots and nothing else.
>
functionality - the code still does something and your change
conceivably could affect that. Shouldn't the test in this case be the
same, as when the code was originally submitted, demonstrating that
the code still works?
Whoops, by that I mean, can we have some sort of style-guide writing around the commit message - maybe at least the # of characters to wrap to?(didn't mean to quote the TEST= part)
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/f2c04b40-4065-4ea2-b961-471801ee735a%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAJ0M83UG%2BP-rfn7YXCOL1%3D1qMEacuXZa%3D6zbnqFmGNKYBV_LkQ%40mail.gmail.com.