Bug#1051205: git grep -F isn't ‒ '(' fails with "fatal: unmatched parenthesis"

2024-03-22 Thread наб
Control: tags -1 + upstream hehe hoho git grep '(' is actually git grep PATTERN_GROUP_START, because git grep has pattern grouping. Not a bug per se, but the error message is actively adversarial: $ git grep \( fatal: unmatched parenthesis $ git grep \) fatal: incomplete pattern

Bug#1051205: git grep -F isn't ‒ '(' fails with "fatal: unmatched parenthesis"

2023-09-04 Thread наб
Control: retitle -1 git grep -F and BRE fail for "'('" with "fatal: unmatched parenthesis" but work for "-- '('"? This is correct: $ git grep '\(' | head -n1 fatal: command line, '\(': Unmatched ( or \( This ain't: $ git grep '(' | head -n1 fatal: unmatched parenthesis $ git grep -- '(' |

Bug#1051205: git grep -F isn't ‒ '(' fails with "fatal: unmatched parenthesis"

2023-09-04 Thread наб
Package: git Version: 1:2.39.2-1.1 Version: 1:2.40.1-1 Severity: normal Dear Maintainer, $ git grep -F '(' fatal: unmatched parenthesis $ git grep -F '\(' Changes.old:sed 's/^\(\.[BRI]\)[BRI]\( \([^ ]\+\|\"[^\"]\+\"\)\)$/\1\2/g' Changes.old:git grep -P '^\.(BR|IR)