grep: simplify grep_oid and grep_file
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Fri, 23 Feb 2018 14:47:57 +0000 (15:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Feb 2018 20:23:50 +0000 (12:23 -0800)
commit38ef24d...cfb696393d2e8e701bf2f81c9e6275e2
tree437d07d...12e8f2966dc52aab67e8c9c9af15b8e5copy hash to clipboard (tree)
parente2e05d6...9a71ae2c06ebd3c661260bf4b5039a93copy hash to clipboard (diff)
builtin/grep.c