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

Issue 192443006: git-hooks/pre-commit: Allow merging deps2submodules changes from upstream (Closed)

Created:
6 years, 9 months ago by spang
Modified:
6 years, 8 months ago
Reviewers:
szager, szager1
CC:
chromium-reviews, Ami GONE FROM CHROMIUM
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

git-hooks/pre-commit: Allow merging deps2submodules changes from upstream This also checks the 2nd parent during a merge, to allow commiting a merge that contains newer versions of the submodules. In particular merging chromium master into a local branch will now work. TEST=git checkout -b test origin/master~200 git merge --no-ff --no-commit origin/master git commit Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259711

Patch Set 1 #

Patch Set 2 : always diff vs parent with latest submodules #

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -3 lines) Patch
M build/git-hooks/pre-commit View 1 2 2 chunks +28 lines, -3 lines 2 comments Download

Messages

Total messages: 37 (0 generated)
spang
6 years, 9 months ago (2014-03-10 20:38:24 UTC) #1
szager1
I'd prefer to do this slightly differently; if a merge is in progress, I'd like ...
6 years, 9 months ago (2014-03-17 05:18:10 UTC) #2
szager1
I'd prefer to do this slightly differently; if a merge is in progress, I'd like ...
6 years, 9 months ago (2014-03-17 05:18:37 UTC) #3
spang
On 2014/03/17 05:18:37, szager1 wrote: > I'd prefer to do this slightly differently; if a ...
6 years, 9 months ago (2014-03-17 05:51:26 UTC) #4
szager1
On 2014/03/17 05:51:26, spang wrote: > On 2014/03/17 05:18:37, szager1 wrote: > > I'd prefer ...
6 years, 9 months ago (2014-03-17 06:27:33 UTC) #5
szager1
On 2014/03/17 05:51:26, spang wrote: > On 2014/03/17 05:18:37, szager1 wrote: > > I'd prefer ...
6 years, 9 months ago (2014-03-17 06:34:20 UTC) #6
spang
6 years, 9 months ago (2014-03-17 17:05:05 UTC) #7
spang
On 2014/03/17 06:27:33, szager1 wrote: > On 2014/03/17 05:51:26, spang wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 17:06:43 UTC) #8
spang
On 2014/03/17 06:34:20, szager1 wrote: > On 2014/03/17 05:51:26, spang wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 17:12:35 UTC) #9
spang
On 2014/03/17 17:12:35, spang wrote: > On 2014/03/17 06:34:20, szager1 wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 17:42:35 UTC) #10
szager1
This doesn't address the case that has been by far the biggest source of errors: ...
6 years, 9 months ago (2014-03-17 18:12:02 UTC) #11
spang
On 2014/03/17 18:12:02, szager1 wrote: > This doesn't address the case that has been by ...
6 years, 9 months ago (2014-03-17 18:27:26 UTC) #12
szager1
On 2014/03/17 18:27:26, spang wrote: > On 2014/03/17 18:12:02, szager1 wrote: > > This doesn't ...
6 years, 9 months ago (2014-03-17 18:37:19 UTC) #13
spang
On 2014/03/17 18:37:19, szager1 wrote: > On 2014/03/17 18:27:26, spang wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 18:46:29 UTC) #14
szager1
On 2014/03/17 18:46:29, spang wrote: > On 2014/03/17 18:37:19, szager1 wrote: > > git checkout ...
6 years, 9 months ago (2014-03-17 18:56:28 UTC) #15
spang
On 2014/03/17 18:56:28, szager1 wrote: > On 2014/03/17 18:46:29, spang wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 19:03:51 UTC) #16
szager1
On 2014/03/17 19:03:51, spang wrote: > On 2014/03/17 18:56:28, szager1 wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 19:49:49 UTC) #17
spang
On 2014/03/17 19:49:49, szager1 wrote: > On 2014/03/17 19:03:51, spang wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-17 21:10:15 UTC) #18
spang
On 2014/03/17 21:10:15, spang wrote: > On 2014/03/17 19:49:49, szager1 wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-21 18:34:07 UTC) #19
Rick Byers
On 2014/03/21 18:34:07, spang wrote: > On 2014/03/17 21:10:15, spang wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-26 15:59:40 UTC) #20
szager1
Sorry for the delay; I have been interrupt-driven lately. I still find the logic a ...
6 years, 9 months ago (2014-03-26 16:06:51 UTC) #21
spang
The CQ bit was checked by spang@chromium.org
6 years, 9 months ago (2014-03-26 17:33:15 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/192443006/20001
6 years, 9 months ago (2014-03-26 17:34:50 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 17:34:54 UTC) #24
commit-bot: I haz the power
Failed to apply patch for build/git-hooks/pre-commit: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-26 17:34:54 UTC) #25
spang
The CQ bit was checked by spang@chromium.org
6 years, 9 months ago (2014-03-26 17:52:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/192443006/40001
6 years, 9 months ago (2014-03-26 17:53:37 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 19:20:27 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 9 months ago (2014-03-26 19:20:27 UTC) #29
spang
The CQ bit was checked by spang@chromium.org
6 years, 9 months ago (2014-03-26 20:03:51 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/192443006/40001
6 years, 9 months ago (2014-03-26 20:09:16 UTC) #31
commit-bot: I haz the power
Change committed as 259711
6 years, 9 months ago (2014-03-26 22:05:41 UTC) #32
Ami GONE FROM CHROMIUM
post-commit drive-by https://codereview.chromium.org/192443006/diff/40001/build/git-hooks/pre-commit File build/git-hooks/pre-commit (right): https://codereview.chromium.org/192443006/diff/40001/build/git-hooks/pre-commit#newcode52 build/git-hooks/pre-commit:52: if test "$(git ls-files .gitmodules)" -a "$(gitmodules_diff ...
6 years, 8 months ago (2014-04-04 18:07:13 UTC) #33
spang
https://codereview.chromium.org/192443006/diff/40001/build/git-hooks/pre-commit File build/git-hooks/pre-commit (right): https://codereview.chromium.org/192443006/diff/40001/build/git-hooks/pre-commit#newcode52 build/git-hooks/pre-commit:52: if test "$(git ls-files .gitmodules)" -a "$(gitmodules_diff $head_ref)"; then ...
6 years, 8 months ago (2014-04-04 18:14:02 UTC) #34
Ami GONE FROM CHROMIUM
The [[ -> [ change was intentional to work with dash or some other non-bash. ...
6 years, 8 months ago (2014-04-04 18:19:37 UTC) #35
spang
I'm just saying, I'm not really sure why you changed it from test in the ...
6 years, 8 months ago (2014-04-04 18:23:57 UTC) #36
Ami GONE FROM CHROMIUM
6 years, 8 months ago (2014-04-04 18:35:55 UTC) #37
FTR https://codereview.chromium.org/225583008/


On Fri, Apr 4, 2014 at 11:23 AM, Michael Spang <spang@chromium.org> wrote:

> I'm just saying, I'm not really sure why you changed it from test in the
> first place, so when I went to merge my change with yours I just left it as
> test.
>
>  On Fri, Apr 4, 2014 at 2:19 PM, Ami Fischman <fischman@chromium.org>wrote:
>
>> The [[ -> [ change was intentional to work with dash or some other
>> non-bash.
>> Will send a CL to flip test back to [.
>> Thanks.
>>
>>
>> On Fri, Apr 4, 2014 at 11:14 AM, <spang@chromium.org> wrote:
>>
>>>
>>> https://codereview.chromium.org/192443006/diff/40001/
>>> build/git-hooks/pre-commit
>>> File build/git-hooks/pre-commit (right):
>>>
>>> https://codereview.chromium.org/192443006/diff/40001/
>>> build/git-hooks/pre-commit#newcode52
>>> build/git-hooks/pre-commit:52: if test "$(git ls-files .gitmodules)" -a
>>> "$(gitmodules_diff $head_ref)"; then
>>> On 2014/04/04 18:07:13, Ami Fischman wrote:
>>>
>>>> This change undid the benefit of r257470 because
>>>> test "$(/bin/false)" -a "$(echo foo >&2)"
>>>> doesn't short-circuit before running the second command, whereas
>>>> [ "$(/bin/false)" ] && [ "$(echo foo >&2)" ]
>>>> does short-circuit.
>>>>
>>>
>>>
>>> My bad.
>>>
>>>
>>>  Was there any reason to make the change from [ to test other than
>>>>
>>> aesthetics?
>>>
>>>> (any objection to me flipping it back?)
>>>>
>>>
>>> There's no intentional change here, since it was always "test".
>>>
>>> Your CL changed it to [[, and then it changed to [.
>>>
>>> https://codereview.chromium.org/192443006/
>>>
>>
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698