Skip to content

Basic file merging - #672

Open
tiennou wants to merge 2 commits into
libgit2:masterfrom
tiennou:feature/file-merging
Open

Basic file merging#672
tiennou wants to merge 2 commits into
libgit2:masterfrom
tiennou:feature/file-merging

Conversation

@tiennou

@tiennou tiennou commented Oct 27, 2018

Copy link
Copy Markdown
Contributor

This adds a wrapper for the simple git_merge_file & git_merge_file_from_index.

This is somewhat a leftover from #664, because the implementation was already available in libgit2 as the latter, and thus misses nicer things (like filenames in conflict markers).

I'd like to get that in ASAP, so I can update libgit2 and make a release from that, and that API is in my way 😉.

@tiennou
tiennou force-pushed the feature/file-merging branch from a481f8e to e0e103f Compare October 27, 2018 20:06
tiennou added 2 commits March 24, 2019 10:26
This fixes the file path in the diff always being `file.txt`, as well as (I suspect) taking into account what's in the index instead of going straight to the ODB.
@tiennou
tiennou force-pushed the feature/file-merging branch from e0e103f to e0103df Compare March 24, 2019 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant