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

Re: Feature request: Configurable prefixes for git commit --fixup and --squash

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Mar 3, 2016, 17:09 UTC
Message-ID
<vpqvb53ij45.fsf@anie.imag.fr>
In-Reply-To
<CALHmdRwZCb7LnQcKkdy-wNx5Ree+FcMPz2ykqVnTTq_SPDR_HA@mail.gmail.com>
Martine Lenders <mlenders@riot-os.org> writes:
>> [ Please, don't top-post on this list ]

... and as much as possible keep the "XYZ wrote:" line so that we know who wrote what ;-).

I wrote:
Show 14 quoted lines
>> I wish I could write commit messages like
>>
>> fixup! deadbeef: fix typo (foo -> bar)
>>
>> So that the commit message contains both the instruction for "rebase
>> --autosquash" and a quick explanation of what the commit is doing (as
>> usual commit messages).
>>
>> AFAIK, it's not possible currently but shouldn't be hard to implement.
>
> I would love that, too :-). This differs however from the original
> intent of my feature request. So maybe we finish this thread (since my
> John's proposal is 100% sufficient for me in that regard) and open a
> new one? How are the procedures for this on this list?

We don't have "procedure" for feature requests. It happens often that someone dreams aloud like I did above, and it's OK as long as "it shouldn't be hard to implement" is understood as "one day I should do it" and not "hey, you lazy devs, why don't you code that for me?" ;-).

But in general, people get more interested when a proposal has a patch attached.

I've added the idea here:
  https://git.wiki.kernel.org/index.php/SmallProjectsIdeas
(except I already changed my mind in the syntax)
I may get some students to work on this in May, or do it myself one day.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Martine LendersNext: Junio C Hamano
Message 10 of 12 in “Feature request: Configurable prefixes for git commit --fixup and --squash”
  1. Martine LendersMar 3, 2016
  2. John KeepingMar 3, 2016
  3. Matthieu MoyMar 3, 2016
  4. Martine LendersMar 3, 2016
  5. Matthieu MoyMar 3, 2016
  6. Martine LendersMar 3, 2016
  7. John KeepingMar 3, 2016
  8. Matthieu MoyMar 3, 2016
  9. Martine LendersMar 3, 2016
  10. Matthieu MoyMar 3, 2016
  11. Junio C HamanoMar 3, 2016
  12. Matthieu MoyMar 3, 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.