Skip to content

format-patch: --interiff/--range-diff tweaks

Eric Sunshine git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3diff: move show_interdiff() from its own file to diff-libMakefile builtin/log.c diff-lib.c +4 more+26 -390 replies
2/3diff-lib: tighten show_interdiff()'s interfacebuiltin/log.c diff-lib.c diff.h +1 more+14 -60 replies
3/3format-patch: use 'origin' as start of current-series-range when knownbuiltin/log.c+11 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] format-patch: --interiff/--range-diff tweaks

This series addresses a few comments[2,3,4,5] which cropped up during review of the series which added --interdiff and --range-diff options to git-format-patch[1]. That series made it into 'next' before I could address the comments, so these patches (based upon 'master') make minor tweaks "incrementally" (over 2 years late).

[1]: https://lore.kernel.org/git/[email protected]/
[2]: https://lore.kernel.org/git/CACsJy8C8RK6HkfoEYJGZg=sgtJS0WksHD3=7Souw3jYebRo=Sg@mail.gmail.com/
[3]: https://lore.kernel.org/git/[email protected]/
[4]: https://lore.kernel.org/git/CAPig+cSuYUYSPTuKx08wcmQM-G12_-W2T4BS07fA=6grM1b8Gw@mail.gmail.com/
[5]: https://lore.kernel.org/git/[email protected]/

Eric Sunshine (3):
diff: move show_interdiff() from its own file to diff-lib
diff-lib: tighten show_interdiff()'s interface
format-patch: use 'origin' as start of current-series-range when known

 Makefile      |  1 -
 builtin/log.c | 22 +++++++++++++---------
 diff-lib.c    | 25 +++++++++++++++++++++++++
 diff.h        |  7 +++++++
 interdiff.c   | 28 ----------------------------
 interdiff.h   |  8 --------
 log-tree.c    |  4 ++--
 7 files changed, 47 insertions(+), 48 deletions(-)
 delete mode 100644 interdiff.c
 delete mode 100644 interdiff.h
Signature · 1 line
2.28.0.618.gf4bc123cb7