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 11316213: gclient grep: support pathspec arguments (Closed)

Created:
8 years ago by Isaac (away)
Modified:
8 years ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

gclient grep: support pathspec arguments Support 'git grep <match> <branch>' type searches in gclient grep. These searches had a slightly different output so needed more tweeking to the regex. I cleaned it up a bit too. R=maruel@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=170039

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -12 lines) Patch
M gclient.py View 1 2 3 1 chunk +20 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Isaac (away)
8 years ago (2012-11-28 01:22:18 UTC) #1
M-A Ruel
https://chromiumcodereview.appspot.com/11316213/diff/1/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11316213/diff/1/gclient.py#newcode644 gclient.py:644: if options.prepend_dir: if options.prepend_dir and scm == 'git': https://chromiumcodereview.appspot.com/11316213/diff/1/gclient.py#newcode646 ...
8 years ago (2012-11-28 01:43:11 UTC) #2
Isaac (away)
Uploaded patchset 2 with some changes. https://chromiumcodereview.appspot.com/11316213/diff/1/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11316213/diff/1/gclient.py#newcode644 gclient.py:644: if options.prepend_dir: On ...
8 years ago (2012-11-28 02:02:35 UTC) #3
M-A Ruel
lgtm https://chromiumcodereview.appspot.com/11316213/diff/1002/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11316213/diff/1002/gclient.py#newcode650 gclient.py:650: match = re.match('^(\S+?:)?([^\0]+)$', git_pathspec) Then concatenate the two ...
8 years ago (2012-11-28 02:20:33 UTC) #4
Isaac (away)
fixed nit and rebased. Committing.
8 years ago (2012-11-28 20:24:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ilevy@chromium.org/11316213/7002
8 years ago (2012-11-28 20:24:19 UTC) #6
commit-bot: I haz the power
8 years ago (2012-11-28 20:27:03 UTC) #7
Message was sent while issue was closed.
Change committed as 170039

Powered by Google App Engine
This is Rietveld 408576698