Improve git log parsing
Open
P2
- Dominant language
- Go
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Attempting to print the git log in a JSON-like format gets tricky fast. Two issues have appeared so far:
1. Multi-line strings (for example, the commit body)
2. Quotes in any value (for example, the commit message)
Either of these can break the JSON string.
Potential solutions:
- One log field per line, with prefix, and parse using regexp.
- YAML (not sure this would be much different from JSON).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.