git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Sep 8, 2020, 07:16 UTC
Message-ID
<20200908071610.16714-1-sunshine@sunshineco.com>

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/20180722095717.17912-1-sunshine@sunshineco.com/ [2]: https://lore.kernel.org/git/CACsJy8C8RK6HkfoEYJGZg=sgtJS0WksHD3=7Souw3jYebRo=Sg@mail.gmail.com/ [3]: https://lore.kernel.org/git/xmqqh8kp4otz.fsf@gitster-ct.c.googlers.com/ [4]: https://lore.kernel.org/git/CAPig+cSuYUYSPTuKx08wcmQM-G12_-W2T4BS07fA=6grM1b8Gw@mail.gmail.com/ [5]: https://lore.kernel.org/git/xmqqva93t4u7.fsf@gitster-ct.c.googlers.com/

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
-- 
2.28.0.618.gf4bc123cb7
Next: Eric Sunshine
Message 1 of 6 in “format-patch: --interiff/--range-diff tweaks”
  1. 0/3 format-patch: --interiff/--range-diff tweaksEric Sunshine, Sep 8, 2020
  2. 1/3 diff: move show_interdiff() from its own file to diff-libEric Sunshine, Sep 8, 2020
  3. 2/3 diff-lib: tighten show_interdiff()'s interfaceEric Sunshine, Sep 8, 2020
  4. 3/3 format-patch: use 'origin' as start of current-series-range when knownEric Sunshine, Sep 8, 2020
  5. Junio C HamanoSep 8, 2020
  6. Eric SunshineSep 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.