FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Include merge commits in the file history by emanuel-v-r · Pull Request #2044 · libgit2/libgit2sharp · GitHub

Include merge commits in the file history - #2044

Open
emanuel-v-r wants to merge 1 commit into
libgit2:masterfrom
emanuel-v-r:master
Open

Include merge commits in the file history#2044
emanuel-v-r wants to merge 1 commit into
libgit2:masterfrom
emanuel-v-r:master

Conversation

emanuel-v-r commented Jun 19, 2023
edited
Loading

Copy link
Copy Markdown

Currently when we use file history, it doesn't show any merge commits, which could be misleading, as it might contain changes for this specific file.
Also, the popular git providers show merge commits when showing the history of a single file.
Looks like the changes in this PR could fix it (currenlty it simply skips when there is more than one parent).
Eventually if we want to keep the old behavior, we may want to pass some kind of flag to the FileHistory class, maybe includeMergeCommits=false

emanuel-v-r closed this Jan 5, 2024
emanuel-v-r reopened this Jan 5, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL