1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-19 03:08:30 +03:00
git-cliff/.github/fixtures
Florian Fromm 0c7769b52f
feat(config): changelog for the last n commits (#116)
* feat(config): changelog for the last n commits

Adds a additional configuration variable `limit_commits` to the
configuration struct.
`limit_commits` can be set to a positive integer number to limit the
commits contained in the generated changelog.

Also adjusts the default config file to contain `limit_commits` as a
commented out line.

Extends documentation in README.md to also cover the introduced
configuration value.

issue: https://github.com/orhun/git-cliff/issues/102

* test(fixture): add test fixture for limiting commits

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-10-06 13:10:37 +02:00
..
test-commit-footers feat(commit)!: pass footer token and separator to template (#97) 2022-07-12 15:38:16 +03:00
test-commit-preprocessors fix(fixtures): update expected changelog date 2022-04-06 15:58:28 +03:00
test-custom-scope feat(config): support changing commit scope with commit_parsers (#94) 2022-06-23 02:44:13 +03:00
test-date-order feat(changelog, config)!: replace --topo-order by --date-order (#58) 2022-02-12 19:30:21 +03:00
test-date-order-arg feat(changelog, config)!: replace --topo-order by --date-order (#58) 2022-02-12 19:30:21 +03:00
test-ignore-tags fix(changelog): use root commit when --latest and there is only one tag (#59) 2022-02-20 17:26:11 +03:00
test-latest-with-one-tag fix(changelog): use root commit when --latest and there is only one tag (#59) 2022-02-20 17:26:11 +03:00
test-limit-commits feat(config): changelog for the last n commits (#116) 2022-10-06 13:10:37 +02:00
test-skip-breaking-changes feat(changelog): do not skip breaking changes if configured (#114) 2022-10-04 20:21:49 +00:00
test-split-commits feat(changelog): support splitting commits by lines (#101) 2022-08-12 04:59:06 +03:00
test-topo-order feat(changelog, config)!: replace --topo-order by --date-order (#58) 2022-02-12 19:30:21 +03:00
test-fixtures-locally.sh fix(changelog): use root commit when --latest and there is only one tag (#59) 2022-02-20 17:26:11 +03:00