Commit Graph

3 Commits

Author SHA1 Message Date
leo
cc66afe5e2 fix: ${files:N} will always be replaced with the first change path (#487)
* wrong loop index passed to `changes`
2024-10-14 15:31:29 +08:00
leo
900ebd8282 feature: supports parameters in commit template (#487)
- ${files_num} will be replaced with staged changes count
- ${files} will be replaced with changed file paths
- ${files:N} will be replaced with top N changes file paths and with `and {TOTAL - N} other files` at end of replaced string.
2024-09-18 20:11:34 +08:00
leo
b3327ebeb5 feature: supports commit template (#264) 2024-08-15 18:59:35 +08:00