Code

grep: Add the option '--line-number'
authorJoe Ratterman <jratt0@gmail.com>
Mon, 28 Mar 2011 18:11:55 +0000 (13:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Mar 2011 21:02:12 +0000 (14:02 -0700)
commit7d6cb10b84d9931aacf1914db192cbeaaa88443d
tree5b8907e0803db3457f3c9e781dc77574cf4205d4
parent78bc46675353e4833a59e0f4dfa47d57a9c1a46b
grep: Add the option '--line-number'

This is a synonym for the existing '-n' option, matching GNU grep.

Signed-off-by: Joe Ratterman <jratt0@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-grep.txt
builtin/grep.c