Git development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add support for an external command for fetching notes
@ 2026-05-22 16:09 Siddh Raman Pant
  2026-05-22 16:09 ` [PATCH v2 1/4] notes: convert raw arg in format_display_notes() to bool Siddh Raman Pant
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Siddh Raman Pant @ 2026-05-22 16:09 UTC (permalink / raw)
  To: git
  Cc: Elijah Newren, Patrick Steinhardt, Kristoffer Haugsbakk,
	Junio C Hamano, brian m. carlson, Jeff King, Johannes Sixt,
	Oswald Buddenhagen

v1: https://lore.kernel.org/git/cover.1779207350.git.siddh.raman.pant@oracle.com/

<...insert text from v1 cover here...>

Changes since v1:
- Removed Documentation commit and sent as a standalone patch.
- Removed finish_command_with_timeout addition (and thus sleep_nanosec).
- Squashed the external notes command code, doc, and test commits.
- Removed horizontal separators from note-external.c.
- Removed global variables from translation unit and instead store config in
  a dedicated new struct member in struct display_notes_opt.
- Reworded the main commit to have better explanation of the motivation.

Testing: https://github.com/siddhpant/git/actions/runs/26295998442

Please review and let me know if any changes are needed or errors are there,
hopefully this gets accepted.

Thanks,
Siddh

Siddh Raman Pant (4):
  notes: convert raw arg in format_display_notes() to bool
  wrapper: add support for timeout and deadline in read helpers
  t3301: cover generic displayed notes behavior
  notes: support an external command to display notes

 Documentation/config/notes.adoc             |  61 +++
 Documentation/git-format-patch.adoc         |  11 +-
 Documentation/git-range-diff.adoc           |   6 +
 Documentation/pretty-options.adoc           |   9 +
 Makefile                                    |   2 +
 builtin/log.c                               |  17 +-
 builtin/name-rev.c                          |   9 +-
 builtin/range-diff.c                        |   2 +
 contrib/completion/git-completion.bash      |   4 +-
 log-tree.c                                  |  10 +-
 meson.build                                 |   1 +
 notes-external.c                            | 414 ++++++++++++++++++
 notes-external.h                            |  53 +++
 notes.c                                     | 266 +++++++++---
 notes.h                                     |  33 +-
 revision.c                                  |  36 +-
 strbuf.c                                    |  26 +-
 strbuf.h                                    |   4 +
 t/helper/meson.build                        |   1 +
 t/helper/test-external-notes                |  64 +++
 t/helper/test-notes-external-config-reset.c |  24 ++
 t/helper/test-tool.c                        |   1 +
 t/helper/test-tool.h                        |   1 +
 t/lib-notes.sh                              |  19 +
 t/t3206-range-diff.sh                       |  68 +++
 t/t3301-notes.sh                            | 448 ++++++++++++++++++++
 t/t6120-describe.sh                         |  17 +
 wrapper.c                                   | 139 +++++-
 wrapper.h                                   |  23 +
 29 files changed, 1693 insertions(+), 76 deletions(-)
 create mode 100644 notes-external.c
 create mode 100644 notes-external.h
 create mode 100755 t/helper/test-external-notes
 create mode 100644 t/helper/test-notes-external-config-reset.c
 create mode 100644 t/lib-notes.sh

-- 
2.53.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-22 16:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 16:09 [PATCH v2 0/4] Add support for an external command for fetching notes Siddh Raman Pant
2026-05-22 16:09 ` [PATCH v2 1/4] notes: convert raw arg in format_display_notes() to bool Siddh Raman Pant
2026-05-22 16:09 ` [PATCH v2 2/4] wrapper: add support for timeout and deadline in read helpers Siddh Raman Pant
2026-05-22 16:09 ` [PATCH v2 3/4] t3301: cover generic displayed notes behavior Siddh Raman Pant
2026-05-22 16:09 ` [PATCH v2 4/4] notes: support an external command to display notes Siddh Raman Pant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox