-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reports show git commits in the wrong order #125
Comments
Confirmed. Easier to reproduce by using Output for
Output for
|
This happens because we sort commits by date in: Line 167 in 72c4bb8
But somehow all commits for a given day have the same date (trying to figure out why) and the sort ends up shuffling commits for a given day. It seems that we could actually simply not sort and |
The commits have the exact same date because they were That causes the sort mentioned in my previous message to reorder commits with the same date. So we can either use Edit: it seems this "same commit time" issue arises from amending/rebasing commits. |
Describe the bug
When running wily on a git repo, and then generating a report, the report lists commits in the wrong order, and even contains commits that aren't part of the history.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/ali1234/32blit-tools
git checkout wily-test
wily build src/ttblit
wily report src/ttblit
git log
Expected behavior
Wily reports should list git commits in the order they appear in the git history, otherwise it looks like the complexity is constantly changing, when in fact the commit only introduced a few small changes.
Running Pycharm's terminal, Ubuntu 20.04, Python version 3.8.5, wily version 1.19.0
The text was updated successfully, but these errors were encountered: