Commit 34e0a35e authored by mnaganov@chromium.org's avatar mnaganov@chromium.org

depot_tools: Print line numbers in search results of git-gs

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/458017



git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@33683 0039d316-1c4b-4281-b951-d872f2087c98
parent ada4c65e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
git grep -e "$@" -- "*.h" "*.hpp" "*.cpp" "*.c" "*.cc" "*.cpp" "*.inl"\ git grep -n -e "$@" -- "*.h" "*.hpp" "*.cpp" "*.c" "*.cc" "*.cpp" "*.inl"\
"*.grd" "*.idl" "*.m" "*.mm" "*.py" "*.sh" "*.cfg"\ "*.grd" "*.idl" "*.m" "*.mm" "*.py" "*.sh" "*.cfg"\
"*SConscript" "SConscript*" "*.scons" "*.vcproj" "*.vsprops" "*.make"\ "*SConscript" "SConscript*" "*.scons" "*.vcproj" "*.vsprops" "*.make"\
"*.gyp" "*.gypi" "*.gyp" "*.gypi"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment