THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
567 B

  1. /*
  2. * Low level 3-way in-core file merge.
  3. */
  4. #ifndef LL_MERGE_H
  5. #define LL_MERGE_H
  6. struct ll_merge_options {
  7. unsigned virtual_ancestor : 1;
  8. unsigned variant : 2; /* favor ours, favor theirs, or union merge */
  9. unsigned renormalize : 1;
  10. long xdl_opts;
  11. };
  12. int ll_merge(mmbuffer_t *result_buf,
  13. const char *path,
  14. mmfile_t *ancestor, const char *ancestor_label,
  15. mmfile_t *ours, const char *our_label,
  16. mmfile_t *theirs, const char *their_label,
  17. const struct ll_merge_options *opts);
  18. int ll_merge_marker_size(const char *path);
  19. #endif