Thread (3 messages) flat view 3 messages, 2 authors, 2016-09-19

Re: [PATCH] ls-files: add pathspec matching for submodules

From: Junio C Hamano <hidden>
Date: 2016-09-19 18:34:51

Possibly related (same subject, not in this thread)

Brandon Williams [off-list ref] writes:
side question if the answer is short:  Any reason as to why all of the
pathspec matching code lives inside of dir.c and not pathspec.c?
Hysterical Raisins.

A pathspec used to be just a "const char **" in simpler times, which
was no more elaborate than "argv + i" (i.e. after parsing options
and revisions out, the remainders are pathspec elements).  Major
part of the matching was done inside dir.c and we haven't had chance
to look at the larger picture to move the code around.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help