Bug 264854 - git pre-commit hook fails on directories with the '+' character
Summary: git pre-commit hook fails on directories with the '+' character
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-23 17:53 UTC by Yuri Victorovich
Modified: 2022-06-23 21:20 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2022-06-23 17:53:39 UTC
This command failed:
$ git commit sdr++ Makefile 
grep: repetition-operator operand invalid
[pre-commit] ERROR: Missing 'SUBDIR += sdr++' in comms/Makefile

I had to use --no-verify to work around the issue.
This isn't urgent since there is a workaround, but it would be nice if this would be fixed.
Comment 1 Mathieu Arnold freebsd_committer 2022-06-23 21:20:13 UTC
The workaround would be to not create more directories with a + in them.