Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Issue 523101: When running git presubmit hooks, use the changelist's description,... (Closed)

Created:
10 years, 11 months ago by Robert Sesek
Modified:
9 years, 7 months ago
Reviewers:
chase, M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

When running git presubmit hooks, use the changelist's description, rather than the local commit message's. BUG=31695 TEST=git cl upload where commit message is missing BUG= but CL description has one. No presubmit error. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35682

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M git_cl_hooks.py View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Robert Sesek
10 years, 11 months ago (2010-01-06 21:22:45 UTC) #1
M-A Ruel
Eh, was much easier than I thought. Thanks for looking into it. lgtm
10 years, 11 months ago (2010-01-06 21:41:54 UTC) #2
chase
I think this patch breaks in my Cygwin setup that might be exposing some underlying ...
10 years, 11 months ago (2010-01-08 19:25:00 UTC) #3
M-A Ruel
On 2010/01/08 19:25:00, chase wrote: > I think this patch breaks in my Cygwin setup ...
10 years, 11 months ago (2010-01-08 19:27:44 UTC) #4
chase
On 2010/01/08 19:27:44, Marc-Antoine Ruel wrote: > IIRC, it's a color escape sequence. Is your ...
10 years, 11 months ago (2010-01-08 19:30:42 UTC) #5
M-A Ruel
On 2010/01/08 19:30:42, chase wrote: > On 2010/01/08 19:27:44, Marc-Antoine Ruel wrote: > > IIRC, ...
10 years, 11 months ago (2010-01-08 19:34:15 UTC) #6
Robert Sesek
10 years, 11 months ago (2010-01-08 19:40:35 UTC) #7
On 2010/01/08 19:34:15, Marc-Antoine Ruel wrote:
> On 2010/01/08 19:30:42, chase wrote:
> > On 2010/01/08 19:27:44, Marc-Antoine Ruel wrote:
> > > IIRC, it's a color escape sequence. Is your "None" colored?
> > 
> > No, according to the output of 'git-cl status --field=id'.
> > 
> > cmp@cphillips4-corp:/work/chromium/src$ git-cl status --field=id|md5sum
> > 390d3398a07a90b813bbf4fe52f1e8f1 *-
> > cmp@cphillips4-corp:/work/chromium/src$ echo "None"|md5sum
> > 08e9de24ab150d083240557cec091d53 *-
> 
> It'd be simpler to just catch exception for int() and not look for hardcoded
> strings.

Easy enough. CL coming your way in a few minutes.

Powered by Google App Engine
This is Rietveld 408576698