bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36644: Git log search


From: Juri Linkov
Subject: bug#36644: Git log search
Date: Tue, 16 Jul 2019 23:20:42 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>     >>> Git supports regexps, but maybe we should look at what other backends
>     >>> can support as well.
>     >>
>     >> It seems the most compatible type is string.
>
>     Dmitry> OK, if that is your conclusion.
>
> If the most compatible type is string, surely emacs should do no
> regexp-quoting or anything else on the argument, but just pass it
> verbatim to the backend search command. That way you could do eg
>
> Bug.*0
>
> to get all log entries with a bug reference ending in 0.

Currently when using shell-quote-argument it doesn't allow
using such regexps as Bug.*0.  So I guess we need to remove
shell-quote-argument and also to not use regexp-quote.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]