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

Issue 2356933002: Introduce git merge driver for the blink reformatting (Closed)

Created:
4 years, 3 months ago by dcheng
Modified:
4 years, 3 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, M-A Ruel, Nico
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce git merge driver for the blink reformatting Based on CL from primiano@: https://codereview.chromium.org/2348793003/ This is a simple tool that can help automatically resolve conflicts from clang-format reformatting patches. BUG=574611 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/ff84560ede8fbc53160a760c0284c0234eaeeff1

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updates #

Patch Set 3 : Formatted #

Total comments: 11

Patch Set 4 : Add comments #

Patch Set 5 : no-find-copies #

Patch Set 6 : Remove gclient.py hook and extra \n #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -0 lines) Patch
A clang_format_merge_driver View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A clang_format_merge_driver.bat View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A clang_format_merge_driver.py View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (9 generated)
dcheng
PS1 is primiano@'s original CL from https://codereview.chromium.org/2348793003/. PS3 is the latest patch with tweaks, etc. ...
4 years, 3 months ago (2016-09-20 21:41:07 UTC) #2
Nico
Nice! Looks I'm not an owner here, so leaving this for maruel to approve https://codereview.chromium.org/2356933002/diff/40001/clang_format_merge_driver.py ...
4 years, 3 months ago (2016-09-20 21:54:26 UTC) #3
dcheng
https://codereview.chromium.org/2356933002/diff/40001/clang_format_merge_driver.py File clang_format_merge_driver.py (right): https://codereview.chromium.org/2356933002/diff/40001/clang_format_merge_driver.py#newcode5 clang_format_merge_driver.py:5: """Clang-format 3-way merge driver.""" On 2016/09/20 21:54:26, Nico wrote: ...
4 years, 3 months ago (2016-09-20 22:11:19 UTC) #5
Nico
https://codereview.chromium.org/2356933002/diff/40001/gclient.py File gclient.py (right): https://codereview.chromium.org/2356933002/diff/40001/gclient.py#newcode893 gclient.py:893: CFG_PREFIX = 'merge.clang_format_merge_driver' On 2016/09/20 22:11:19, dcheng wrote: > ...
4 years, 3 months ago (2016-09-20 22:26:48 UTC) #6
dcheng
https://codereview.chromium.org/2356933002/diff/40001/gclient.py File gclient.py (right): https://codereview.chromium.org/2356933002/diff/40001/gclient.py#newcode893 gclient.py:893: CFG_PREFIX = 'merge.clang_format_merge_driver' On 2016/09/20 22:26:48, Nico wrote: > ...
4 years, 3 months ago (2016-09-20 22:30:47 UTC) #7
M-A Ruel
Deferring to Robbie, I'm not excited about such chromium/src specific logic in gclient.
4 years, 3 months ago (2016-09-20 22:45:29 UTC) #9
Nico
This is not specific to chromium, just to clang-format, which lives in depot_tools. On Sep ...
4 years, 3 months ago (2016-09-20 22:52:36 UTC) #10
Nico
Ping, I'd like to get this in. Note that this isn't supposed to be permanent. ...
4 years, 3 months ago (2016-09-21 16:50:37 UTC) #11
Dirk Pranke
On 2016/09/21 16:50:37, Nico wrote: > Ping, I'd like to get this in. > > ...
4 years, 3 months ago (2016-09-21 17:32:01 UTC) #12
dcheng
On 2016/09/21 17:32:01, Dirk Pranke wrote: > On 2016/09/21 16:50:37, Nico wrote: > > Ping, ...
4 years, 3 months ago (2016-09-21 20:03:28 UTC) #13
iannucci
I think I'm missing a lot of context on this... Why can't this hack be ...
4 years, 3 months ago (2016-09-21 20:11:29 UTC) #14
Nico
I chatted with iannucci, and he made the good point that we can just as ...
4 years, 3 months ago (2016-09-21 20:13:44 UTC) #15
dcheng
On 2016/09/21 20:13:44, Nico wrote: > I chatted with iannucci, and he made the good ...
4 years, 3 months ago (2016-09-21 20:16:33 UTC) #16
iannucci
On 2016/09/21 20:16:33, dcheng wrote: > On 2016/09/21 20:13:44, Nico wrote: > > I chatted ...
4 years, 3 months ago (2016-09-21 20:17:50 UTC) #17
Nico
I would've expected `git config` to do everything.
4 years, 3 months ago (2016-09-21 20:18:01 UTC) #19
iannucci
On 2016/09/21 20:17:50, iannucci wrote: > On 2016/09/21 20:16:33, dcheng wrote: > > On 2016/09/21 ...
4 years, 3 months ago (2016-09-21 20:19:36 UTC) #20
iannucci
On 2016/09/21 20:19:36, iannucci wrote: > On 2016/09/21 20:17:50, iannucci wrote: > > On 2016/09/21 ...
4 years, 3 months ago (2016-09-21 20:20:03 UTC) #21
dcheng
OK, I'll close this CL and upload a new one using the DEPS approach. Thanks ...
4 years, 3 months ago (2016-09-21 20:23:59 UTC) #22
Dirk Pranke
On 2016/09/21 20:03:28, dcheng wrote: > On 2016/09/21 17:32:01, Dirk Pranke wrote: > > I'm ...
4 years, 3 months ago (2016-09-21 21:20:35 UTC) #23
dcheng
On 2016/09/21 21:20:35, Dirk Pranke wrote: > On 2016/09/21 20:03:28, dcheng wrote: > > On ...
4 years, 3 months ago (2016-09-21 21:24:56 UTC) #24
Dirk Pranke
On 2016/09/21 21:24:56, dcheng wrote: > On 2016/09/21 21:20:35, Dirk Pranke wrote: > > On ...
4 years, 3 months ago (2016-09-21 21:31:40 UTC) #25
dcheng
On 2016/09/21 21:31:40, Dirk Pranke wrote: > On 2016/09/21 21:24:56, dcheng wrote: > > On ...
4 years, 3 months ago (2016-09-21 21:43:47 UTC) #26
dcheng
On 2016/09/21 21:43:47, dcheng wrote: > On 2016/09/21 21:31:40, Dirk Pranke wrote: > > On ...
4 years, 3 months ago (2016-09-21 21:44:01 UTC) #27
Dirk Pranke
Ah, right. I forgot about the .gitattributes part. Thanks.
4 years, 3 months ago (2016-09-21 21:45:26 UTC) #28
dcheng
I removed the gclient.py hook and moved it into chromium's DEPS: https://codereview.chromium.org/2359933005/ Note that I'm ...
4 years, 3 months ago (2016-09-22 07:53:26 UTC) #30
Dirk Pranke
lgtm to add since clang-format is already here.
4 years, 3 months ago (2016-09-22 18:19:30 UTC) #32
M-A Ruel
rs lgtm
4 years, 3 months ago (2016-09-22 18:49:35 UTC) #34
dcheng
As an update, I'm trying to investigate the feasibility of placing this in chrome's tree ...
4 years, 3 months ago (2016-09-23 07:52:11 UTC) #35
Primiano Tucci (use gerrit)
On 2016/09/23 07:52:11, dcheng wrote: > As an update, I'm trying to investigate the feasibility ...
4 years, 3 months ago (2016-09-23 09:05:15 UTC) #36
dcheng
On 2016/09/23 09:05:15, Primiano Tucci wrote: > On 2016/09/23 07:52:11, dcheng wrote: > > As ...
4 years, 3 months ago (2016-09-23 15:24:38 UTC) #37
dcheng
On 2016/09/23 15:24:38, dcheng wrote: > On 2016/09/23 09:05:15, Primiano Tucci wrote: > > On ...
4 years, 3 months ago (2016-09-23 15:25:20 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2356933002/100001
4 years, 3 months ago (2016-09-23 18:50:03 UTC) #40
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 18:56:23 UTC) #42
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/ff84560ede8fbc...

Powered by Google App Engine
This is Rietveld 408576698