Using gitrevisions :/search style with other operators
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 29 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | get_sha1_oneline: allow to input commit_listsha1_name.c | +12 | 1 reply | |
| 2/2 | get_sha1: support ref^{/regex} syntaxDocumentation/ sha1_name.c | +29 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] [RFD] Using gitrevisions :/search style with other operators
Let's start off from where the previous discussion [1] stopped. People seem to agree ref^{/regex} is a good choice. But we have not come to conclusion how to specify the count yet. Possible suggestions are
- ref^{/foo}2
- ref^{2/foo}
- ref^{:2/foo}
- ref^{2nd/foo}
For whatever syntax chosen, :/ should benefit too. I notice that :/! is reserved for future use. Perhaps :/!2/regex is not too cryptic?
I'd also like to do case-insensitive regex, by the way. :/!2i/regex looks a bit ugly.
[1] http://mid.gmane.org/[email protected]
Nguyễn Thái Ngọc Duy (2):
get_sha1_oneline: allow to input commit_list
get_sha1: support ref^{/regex} syntax
Documentation/revisions.txt | 7 ++++++ sha1_name.c | 45 ++++++++++++++++++++++++++++++++---------- 2 files changed, 41 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.3.2.316.gda8b3