You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I want my commits to be sorted by the newest time. However, it does not work using sort_commits = "newest" but it works using --sort newest
change sort_commits = "oldest" to sort_commits = "newest" in /git-cliff/config/cliff.toml
the run the same command git-cliff --config config/cliff.toml --tag 0.1.0-beta.3
The order is same. no chages
Now, remove the sort_commits = "newest" line the config.
run git-cliff --config config/cliff.toml --tag 0.1.0-beta.3 --sort newest and git-cliff --config config/cliff.toml --tag 0.1.0-beta.3 --sort oldest. Now it works.
Got the error?
Expected behavior sort_commits = "newest" should output the same exact thing as --sort newest
Screenshots/Logs
Attached.
System (please complete the following information):
I realized, in 4eb334d, I'm overriding the values of command line arguments no matter what if the config file has the same entry. So I fixed that situation in ef63727, can you check and verify that it works as expected with this change now?
I did cargo install git-ciff -f, but the issue still there.
cargo install does not pull the latest revision from git. You can build from source or use docker images to try it out until a new version is published.
Describe the bug
I want my commits to be sorted by the newest time. However, it does not work using
sort_commits = "newest"
but it works using--sort newest
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/orhun/git-cliff
cd git-cliff
git-cliff --config config/cliff.toml --tag 0.1.0-beta.3
sort_commits = "oldest"
tosort_commits = "newest"
in/git-cliff/config/cliff.toml
the run the same command
git-cliff --config config/cliff.toml --tag 0.1.0-beta.3
The order is same. no chages
sort_commits = "newest"
line the config.git-cliff --config config/cliff.toml --tag 0.1.0-beta.3 --sort newest
andgit-cliff --config config/cliff.toml --tag 0.1.0-beta.3 --sort oldest
. Now it works.Expected behavior
sort_commits = "newest"
should output the same exact thing as--sort newest
Screenshots/Logs
Attached.
System (please complete the following information):
Additional context
Thanks for git-cliff.
The text was updated successfully, but these errors were encountered: