Re: git merge-tree: bug report and some feature requests
- From
Josh Bleecher Snyder <josharian@gmail.com>
- Date
- Jan 24, 2018, 18:46 UTC
- Message-ID
- <CAFAcib_MysZPZOJ5xTWrh8nLk1Tn3Vi4LbscxgBO-+02S9Wvkw@mail.gmail.com>
- In-Reply-To
- <CA+WKDT3ZsObXc2ENV3gUXbMZU=McBJdiEpvk7y2OM0t+PrqZtQ@mail.gmail.com>
Thanks, Ed. I think I'll pursue the libgit2 route; sounds promising.
Show 7 quoted lines
>> But the alternative appears to be punting entirely, as libgit2 does, >> and merely providing something akin to three index entries. > > Indeed, when I added merge to libgit2, we put the higher-level conflict > analysis into application code because there was not much interest in it > at the time. I've been meaning to add this to `git_status` in libgit2, > but it's not been a high priority.
Is your conflict analysis application code public? I might be game to do some of the legwork to get it into libgit2's git_status (although I'm probably not the right person to do the API design). At a minimum, it would be helpful as a reference, as I'm probably about to recreate some subset of it myself.
-josh