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

Issue 654333002: gn: Check GN_EDITOR before EDITOR in environment variables. (Closed)

Created:
6 years, 2 months ago by Elliot Glaysher
Modified:
6 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

gn: Check GN_EDITOR before EDITOR in environment variables. It's a convention in unix for programs to first search for a program specific editor variable. For example, SVN_EDITOR or GIT_EDITOR. This makes GN follow this same convention. BUG=none Committed: https://crrev.com/a053ef69be56c9d073a8e383491e0f0854240250 Cr-Commit-Position: refs/heads/master@{#299798}

Patch Set 1 #

Patch Set 2 : lrn2spl #

Total comments: 1

Patch Set 3 : nuke comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M tools/gn/command_args.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Elliot Glaysher
6 years, 2 months ago (2014-10-15 21:09:50 UTC) #2
brettw
lgtm https://codereview.chromium.org/654333002/diff/20001/tools/gn/command_args.cc File tools/gn/command_args.cc (right): https://codereview.chromium.org/654333002/diff/20001/tools/gn/command_args.cc#newcode199 tools/gn/command_args.cc:199: // Prefer $VISUAL, then $EDITOR, then vi. Maybe ...
6 years, 2 months ago (2014-10-15 21:11:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/654333002/40001
6 years, 2 months ago (2014-10-15 21:23:13 UTC) #5
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-16 00:56:50 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 00:57:30 UTC) #7
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a053ef69be56c9d073a8e383491e0f0854240250
Cr-Commit-Position: refs/heads/master@{#299798}

Powered by Google App Engine
This is Rietveld 408576698