gitstat icon indicating copy to clipboard operation
gitstat copied to clipboard

Optimize the efficiency of obtaining project historical data and handle the situation of missing parent commits.

Open qixiaobo opened this issue 1 year ago • 1 comments

  • 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.

qixiaobo avatar Nov 09 '24 14:11 qixiaobo

Why not as CLI args (--since/--after and --before/--until) in the same manner as git log?

tbeu avatar Feb 15 '25 16:02 tbeu