Skip to content

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

Open
qixiaobo wants to merge 1 commit into
nielskrijger:masterfrom
qixiaobo:master
Open

Optimize the efficiency of obtaining project historical data and handle the situation of missing parent commits.#3
qixiaobo wants to merge 1 commit into
nielskrijger:masterfrom
qixiaobo:master

Conversation

@qixiaobo

@qixiaobo qixiaobo commented Nov 9, 2024

Copy link
Copy Markdown
  • 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.

- 添加环境变量支持,通过GIT_SINCE参数减少不必要的历史数据检索,提高效率
- 在处理父提交时增加nil检查,避免因缺失父提交导致的panic,提升代码健壮性
@tbeu

tbeu commented Feb 15, 2025

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants