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

Re: [PATCH v4] git-rebase--interactive.sh: add config option for custom instruction format

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 12, 2015, 22:36 UTC
Message-ID
<xmqqeglgblkp.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CANoM8SXQq_zbRui7SHDDAnrgf2VUdCkkJJ7_RHLu355JUzdNxA@mail.gmail.com>
Mike Rappazzo <rappazzo@gmail.com> writes:
Show 8 quoted lines
> In the second loop, I changed it to recalculate the presented message
> when the re-ordered commit is added:
>
> +       if test -n "${format}"
> +       then
> +            msg_content=$(git log -n 1 --format="${format}" ${squash})
>
> That is the "$rest".
Ahh, yeah, I missed that --format=${format} thing.
Thanks.
Previous: Mike Rappazzo
Message 7 of 7 in “git-rebase--interactive.sh: add config option for custom instruction format”
  1. git-rebase--interactive.sh: add config option for custom instruction formatMichael Rappazzo, Jun 12, 2015
  2. git-rebase--interactive.sh: add config option for custom instruction formatMichael Rappazzo, Jun 12, 2015
  3. Junio C HamanoJun 12, 2015
  4. Mike RappazzoJun 12, 2015
  5. Junio C HamanoJun 12, 2015
  6. Mike RappazzoJun 12, 2015
  7. Junio C HamanoJun 12, 2015

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.