GNU bug report logs -
#27840
26.0.50; vc-git-grep stopped working on git master
Previous Next
Reported by: Tom Tromey <tom <at> tromey.com>
Date: Wed, 26 Jul 2017 17:59:02 UTC
Severity: normal
Tags: fixed
Found in version 26.0.50
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
Message #14 received at 27840 <at> debbugs.gnu.org (full text, mbox):
Dmitry Gutov <dgutov <at> yandex.ru> writes:
> On 7/27/17 2:32 AM, npostavs <at> users.sourceforge.net wrote:
>
>> Perhaps we should
>> instead disable this option by default; when I introduced it, I didn't
>> think about the fact that grep.el is used for not-quite-grep programs as
>> well.
>
> Or we can try to think of them as separate. I.e., the patch below also
> works.
Right, but the question is: are there n+1 other places where we will
need to do this?
> And if we want to use the --null option for vc-git-grep, we can
> construct a derivative alist in vc-git.el.
>
> Up to you, of course.
>
> (let ((default-directory dir)
> - (compilation-environment (cons "PAGER=" compilation-environment)))
> + (compilation-environment (cons "PAGER=" compilation-environment))
> + grep-use-null-filename-separator)
This bug report was last modified 7 years and 294 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.