From 34e0a35eddcf05e0b8b1c3192ec295db50cb4656 Mon Sep 17 00:00:00 2001 From: "mnaganov@chromium.org" Date: Thu, 3 Dec 2009 15:44:40 +0000 Subject: [PATCH] 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 --- git-gs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-gs b/git-gs index 613d2bfb87..8e7cb8241a 100755 --- a/git-gs +++ b/git-gs @@ -2,7 +2,7 @@ # Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # 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"\ "*SConscript" "SConscript*" "*.scons" "*.vcproj" "*.vsprops" "*.make"\ "*.gyp" "*.gypi"