gitstat
gitstat copied to clipboard
Optimize the efficiency of obtaining project historical data and handle the situation of missing parent commits.
- Add support for environment variables. Reduce unnecessary historical data retrieval through the GIT_SINCE parameter to improve efficiency.
- Add nil checks when processing parent commits to avoid panics caused by missing parent commits and improve code robustness.
Why not as CLI args (--since/--after and --before/--until) in the same manner as git log?