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

Issue 1167193002: Specify GIT_DIR when running git-config in a mirror. (Closed)

Created:
5 years, 6 months ago by szager1
Modified:
5 years, 6 months ago
Reviewers:
agable, hinoka
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : set env correctly #

Patch Set 3 : Missed one call to RunGit #

Total comments: 2

Patch Set 4 : fix whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M git_cache.py View 1 2 3 2 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
szager1
5 years, 6 months ago (2015-06-08 19:27:15 UTC) #1
agable
Doesn't GIT_DIR need to point directly at a .git directory, not at a checkout containing ...
5 years, 6 months ago (2015-06-08 19:52:33 UTC) #2
hinoka
I think this removes all other environment variables ($HOME, $PATH, etc) from the execution environment.
5 years, 6 months ago (2015-06-08 19:54:04 UTC) #3
szager1
On 2015/06/08 19:54:04, hinoka wrote: > I think this removes all other environment variables ($HOME, ...
5 years, 6 months ago (2015-06-08 20:26:43 UTC) #4
szager1
On 2015/06/08 19:52:33, agable wrote: > Doesn't GIT_DIR need to point directly at a .git ...
5 years, 6 months ago (2015-06-08 20:27:22 UTC) #5
szager1
On 2015/06/08 20:27:22, szager1 wrote: > On 2015/06/08 19:52:33, agable wrote: > > Doesn't GIT_DIR ...
5 years, 6 months ago (2015-06-08 20:28:37 UTC) #6
chromium-reviews
RunGit() does: env = kwargs.get('env') or kwargs.setdefault('env', os.environ.copy()) if you don't specify an env in ...
5 years, 6 months ago (2015-06-08 20:34:13 UTC) #7
szager1
On 2015/06/08 20:34:13, chromium-reviews wrote: > RunGit() does: > env = kwargs.get('env') or kwargs.setdefault('env', os.environ.copy()) ...
5 years, 6 months ago (2015-06-08 20:43:44 UTC) #8
szager1
ping
5 years, 6 months ago (2015-06-09 16:59:31 UTC) #9
hinoka
lgtm + nit https://codereview.chromium.org/1167193002/diff/40001/git_cache.py File git_cache.py (right): https://codereview.chromium.org/1167193002/diff/40001/git_cache.py#newcode241 git_cache.py:241: cwd=cwd, env=env) that looks like a ...
5 years, 6 months ago (2015-06-09 18:10:35 UTC) #10
szager1
https://codereview.chromium.org/1167193002/diff/40001/git_cache.py File git_cache.py (right): https://codereview.chromium.org/1167193002/diff/40001/git_cache.py#newcode241 git_cache.py:241: cwd=cwd, env=env) On 2015/06/09 18:10:34, hinoka wrote: > that ...
5 years, 6 months ago (2015-06-09 20:32:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167193002/60001
5 years, 6 months ago (2015-06-09 20:33:10 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=295587
5 years, 6 months ago (2015-06-09 20:35:50 UTC) #15
hinoka
5 years, 6 months ago (2015-06-10 19:18:44 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1179593002/ by hinoka@chromium.org.

The reason for reverting is: Potentially broke the NaCl toolchain builders:
crbug.com/498942

Speculative revert..

Powered by Google App Engine
This is Rietveld 408576698