Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH 3/3] get_sha1: support ref^{/regex} syntax

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:15

Possibly related (same subject, not in this thread)

Nguyen Thai Ngoc Duy [off-list ref] writes:
Perhaps we should just reject this case. No sane body would ever use it.
I'd have to say that dismissing before even trying is not a very
disciplined attitude.

Shouldn't an empty regexp simply match everything?  Even on FBSD8,

    $ grep '' /etc/passwd

seems to show everything.  How hard would it be to do this in the codepath
we are discussing?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help