From: "René Scharfe" <rene.scharfe@lsrfire.ath.cx>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Phil Lawrence <prlawrence@gmail.com>
Subject: Re: What's cooking extra
Date: Sat, 22 May 2010 23:24:46 +0200 [thread overview]
Message-ID: <4BF84B9E.7060009@lsrfire.ath.cx> (raw)
In-Reply-To: <7vsk5o9d1f.fsf@alter.siamese.dyndns.org>
Am 19.05.2010 16:33, schrieb Junio C Hamano:
> I am aware of the following topics, that are probably all worthy of
> inclusion at some point, but am unclear in what status their discussions
> are. I'd appreciate it if people can help me come up with a list of
> topics that are fully discussed, and if patch submitters of these topics
> can re-send the final "to apply" copy.
> * (Rene) grep on binary files
There was one helpful comment from Dmitry, which I addressed in a follow-up
patch. No reply from Phil, the one who started the topic, though.
I'll send an updated round as replies to this message:
[PATCH 1/8] grep: add test script for binary file handling
Adds a simple test script documenting what git grep can do with
binary files. New: tests for -L and -q.
[PATCH 2/8] grep: grep: refactor handling of binary mode options
Cleanup patch; unchanged.
[PATCH 3/8] grep: --count over binary
[PATCH 4/8] grep: --name-only over binary
Correctness patches for handling of the options --count and
--name-only in connection with binary files. The first one was
reimplemented and the second one is new.
[PATCH 5/8] grep: use memmem() for fixed string search
[PATCH 6/8] grep: continue case insensitive fixed string search after NUL chars
These two patches make git grep -F work on binary files. They
have been rebased against the preceding changed patches but are
unchanged otherwise.
[PATCH 7/8] grep: use REG_STARTEND for all matching if available
This make git grep work on binary files if the platform's
regexec() supports the flag REG_STARTEND. Our own version in
compat/ doesn't, unfortunately. In the first round it consisted
of two patches, which have been squashed and rebased.
[PATCH 8/8] grep: support NUL chars in search strings for -F
New patch, adds support for NUL in patterns, but only for git
grep -F (not -Fi). It's main value is the addition of tests to
show the current limitations regarding searching for NULs.
builtin/grep.c | 8 +++-
grep.c | 98 +++++++++++++++++++++++++++------------------
grep.h | 2 +
t/t7008-grep-binary.sh | 102 ++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 169 insertions(+), 41 deletions(-)
next prev parent reply other threads:[~2010-05-22 21:25 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-19 14:33 What's cooking extra Junio C Hamano
2010-05-19 15:12 ` A Large Angry SCM
2010-05-19 17:06 ` Finn Arne Gangstad
2010-05-19 20:09 ` Eyvind Bernhardsen
2010-05-22 13:09 ` Clemens Buchacher
2010-05-22 19:42 ` Eyvind Bernhardsen
2010-05-22 22:27 ` Clemens Buchacher
2010-05-23 10:36 ` Eyvind Bernhardsen
2010-05-23 11:51 ` Clemens Buchacher
2010-05-23 12:53 ` Eyvind Bernhardsen
2010-05-23 13:26 ` Ævar Arnfjörð Bjarmason
2010-05-24 9:49 ` Clemens Buchacher
2010-05-24 12:47 ` Dmitry Potapov
2010-05-24 20:45 ` Eyvind Bernhardsen
2010-05-24 20:56 ` Clemens Buchacher
2010-05-24 21:09 ` Eyvind Bernhardsen
2010-05-24 21:11 ` Eyvind Bernhardsen
2010-05-24 22:11 ` Clemens Buchacher
2010-05-25 6:41 ` Eyvind Bernhardsen
2010-05-25 8:27 ` Anthony Youngman
2010-06-07 19:55 ` Eyvind Bernhardsen
2010-05-25 8:33 ` Clemens Buchacher
2010-05-24 12:12 ` Dmitry Potapov
2010-05-24 12:22 ` Erik Faye-Lund
2010-05-24 12:42 ` Dmitry Potapov
2010-05-21 16:16 ` Ævar Arnfjörð Bjarmason
2010-05-22 21:24 ` René Scharfe [this message]
2010-05-22 21:26 ` [PATCH 1/8] grep: add test script for binary file handling René Scharfe
2010-05-22 21:28 ` [PATCH 2/8] grep: grep: refactor handling of binary mode options René Scharfe
2010-05-22 21:29 ` [PATCH 3/8] grep: --count over binary René Scharfe
2010-05-22 21:30 ` [PATCH 4/8] grep: --name-only " René Scharfe
2010-05-22 21:32 ` [PATCH 5/8] grep: use memmem() for fixed string search René Scharfe
2010-05-22 21:34 ` [PATCH 6/8] grep: continue case insensitive fixed string search after NUL chars René Scharfe
2010-05-22 21:35 ` [PATCH 7/8] grep: use REG_STARTEND for all matching if available René Scharfe
2010-05-22 21:43 ` [PATCH 8/8] grep: support NUL chars in search strings for -F René Scharfe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BF84B9E.7060009@lsrfire.ath.cx \
--to=rene.scharfe@lsrfire.ath.cx \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=prlawrence@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.