Skip to content

fix: attrs git year on merge commits#207

Open
xiangjinwu wants to merge 4 commits into
korandoru:mainfrom
xiangjinwu:fix-attrs-git-on-merge
Open

fix: attrs git year on merge commits#207
xiangjinwu wants to merge 4 commits into
korandoru:mainfrom
xiangjinwu:fix-attrs-git-on-merge

Conversation

@xiangjinwu

Copy link
Copy Markdown

Resolves #203 by not relying on the traversal order. We simply traverse all non-merge commits in arbitrary order and record their changes from their parent. Merge commits are ignored and assumed to be purely merge: that is, it is not supposed to change a file if neither upstreams changed that file.

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.

Wrong attrs.git_file_{created,modified}_year when traversal encounters merge commit

2 participants