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

Re: [RFC/PATCH] add diffstat information to rebase

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 22, 2016, 23:05 UTC
Message-ID
<alpine.DEB.2.20.1612230003470.155951@virtualbox>
In-Reply-To
<20161222221327.7354-1-sbeller@google.com>
Hi Stefan,
On Thu, 22 Dec 2016, Stefan Beller wrote:
Show 9 quoted lines
> *Ideally* I would rather have a different formatting, e.g. maybe:
> 
>     $ git checkout remotes/origin/js/sequencer-wo-die
>     $ git rebase -i --new-magic v2.10.0-rc2^
> 
> which produces:
> 
>     pick d5cb9cbd64 Git 2.10-rc2                                    | Documentation/RelNo.., GIT-VERSION-GEN -..(+5, -1)
>     ...

That sounds more like a patch adding a new placeholder to the user formats than a patch modifying rebase -i; by using rebase.instructionFormat you can implement that "new magic", and the new functionality may even benefit more obscure use cases.

Ciao, Dscho

Previous: Stefan BellerNext: Duy Nguyen
Message 4 of 7 in “add diffstat information to rebase”
  1. add diffstat information to rebaseStefan Beller, Dec 22, 2016
  2. Johannes SchindelinDec 22, 2016
  3. Stefan BellerDec 22, 2016
  4. Johannes SchindelinDec 22, 2016
  5. Duy NguyenDec 25, 2016
  6. Junio C HamanoDec 22, 2016
  7. Jacob KellerDec 23, 2016

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.