Bug 264854

Summary: git pre-commit hook fails on directories with the '+' character
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: New ---    
Severity: Affects Only Me CC: lwhsu, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 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 freebsd_triage 2022-06-23 21:20:13 UTC
The workaround would be to not create more directories with a + in them.