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

Updating the commit message for reverts

From
GPGal Paikin <paiking@google.com>
Date
Dec 24, 2019, 11:06 UTC
Message-ID
<CAEsQYpNtgMgwjVSOYB9vn-YPvKyKPZ2yZ3NigAVe3PztTN4v8w@mail.gmail.com>
Hi,

I work on the Gerrit team and I would like to change the default behavior for suggested commit messages for Reverts. Currently, if the user is trying a change called '"Revert "change X"', the suggested commit message would be 'Revert "Revert "Change X""' which is silly, since sometimes users want to revert the same change many times.

The suggestion is to change the behavior to "Revert^N" instead of multiple Reverts one after another.

I'm happy to change those things in Gerrit, but it would also be nice if it were changed inside of Git.

What do you think?

Thanks! Gal Paikin

Next: Junio C Hamano
Message 1 of 8 in “Updating the commit message for reverts”
  1. Gal PaikinDec 24, 2019
  2. Junio C HamanoDec 24, 2019
  3. Gal PaikinDec 27, 2019
  4. Danh DoanDec 28, 2019
  5. Junio C HamanoDec 30, 2019
  6. Jonathan NiederDec 30, 2019
  7. Jonathan NiederDec 30, 2019
  8. Oswald BuddenhagenDec 30, 2019

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.