Mercurial > hg
comparison mercurial/thirdparty/xdiff/xdiffi.h @ 36763:90f8fe72446c
xdiff: remove xemit related logic
xemit handles "diff formatting and output" with options like context lines,
whether show function names, etc. That is handled more cleanly at a higher
level in hg.
Removing context line parameters would also make the trimming logic (D2686)
cleaner and more confident. See [1].
[1]: https://github.com/git/git/commit/d2f82950a9226ae1102a7a97f03440a4bf8c6c09
Differential Revision: https://phab.mercurial-scm.org/D2705
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 06 Mar 2018 18:41:08 -0800 |
parents | b5bb0f99064d |
children | 882657a9f768 |
comparison
equal
deleted
inserted
replaced
36762:b5bb0f99064d | 36763:90f8fe72446c |
---|---|
52 int xdl_do_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, | 52 int xdl_do_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, |
53 xdfenv_t *xe); | 53 xdfenv_t *xe); |
54 int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags); | 54 int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags); |
55 int xdl_build_script(xdfenv_t *xe, xdchange_t **xscr); | 55 int xdl_build_script(xdfenv_t *xe, xdchange_t **xscr); |
56 void xdl_free_script(xdchange_t *xscr); | 56 void xdl_free_script(xdchange_t *xscr); |
57 int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb, | |
58 xdemitconf_t const *xecfg); | |
59 | 57 |
60 #endif /* #if !defined(XDIFFI_H) */ | 58 #endif /* #if !defined(XDIFFI_H) */ |