diff options
| author | René Scharfe <l.s.r@web.de> | 2014-03-22 18:15:57 +0100 | 
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-03-24 15:12:45 -0700 | 
| commit | 63b52afaa88bf89c781fe11c6803ff1dcc47d424 (patch) | |
| tree | bc123aab98ff4026a056898a1e3e39bf068d332d /commit.c | |
| parent | 218c45a45c4e1c3b09a1b6b2bc6e6ed457e38a9f (diff) | |
| download | git-63b52afaa88bf89c781fe11c6803ff1dcc47d424.tar.gz | |
pickaxe: merge diffcore_pickaxe_grep() and diffcore_pickaxe_count() into diffcore_pickaxe()
diffcore_pickaxe_count() initializes the regular expression or kwset for
the search term, calls pickaxe() with the callback has_changes() and
cleans up afterwards.  diffcore_pickaxe_grep() does the same, only it
doesn't support kwset and uses the callback diff_grep() instead.  Merge
the two functions to form the new diffcore_pickaxe() and thus get rid of
the duplicate regex setup and cleanup code.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
