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

[PATCH 0/3] interpret-trailers: add --where, --if-exists, --if-missing

From
Paolo Bonzini <bonzini@gnu.org>
Date
Jul 12, 2017, 13:46 UTC
Message-ID
<20170712134646.17179-1-bonzini@gnu.org>
From: Paolo Bonzini <pbonzini@redhat.com>

These options are useful to experiment with "git interpret-trailers" without having to tinker with .gitconfig. It can also be useful in the oddball case where you want a different placement for the trailer.

The case that stimulated the creation of the patches was configuring
     trailer.signed-off-by.where = end

and then wanting "--where before" when a patch author forgets his Signed-off-by and provides it in a separate email.

Paolo
Paolo Bonzini (3):
  trailers: create struct trailer_opts
  trailers: export action enums and corresponding lookup functions
  interpret-trailers: add options for actions
 Documentation/git-interpret-trailers.txt | 16 ++++++
 builtin/interpret-trailers.c             | 53 +++++++++++++++---
 t/t7513-interpret-trailers.sh            | 51 ++++++++++++++++++
 trailer.c                                | 93 ++++++++++++++++++++------------
 trailer.h                                | 35 +++++++++++-
 5 files changed, 205 insertions(+), 43 deletions(-)
-- 
2.13.0
Next: Paolo Bonzini
Message 1 of 10 in “interpret-trailers: add --where, --if-exists, --if-missing”
  1. 0/3 interpret-trailers: add --where, --if-exists, --if-missingPaolo Bonzini, Jul 12, 2017
  2. 1/3 trailers: create struct trailer_optsPaolo Bonzini, Jul 12, 2017
  3. Jonathan TanJul 12, 2017
  4. 2/3 trailers: export action enums and corresponding lookup functionsPaolo Bonzini, Jul 12, 2017
  5. Jonathan TanJul 12, 2017
  6. 3/3 interpret-trailers: add options for actionsPaolo Bonzini, Jul 12, 2017
  7. Jonathan TanJul 12, 2017
  8. Paolo BonziniJul 12, 2017
  9. Christian CouderJul 12, 2017
  10. Paolo BonziniJul 12, 2017

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.