libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Include merge commits in the file history

Open emanuel-v-r opened this issue 2 years ago • 0 comments

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 avatar Jun 19 '23 13:06 emanuel-v-r