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

Re: Feature Request: Interactively pick fixup revision

From
Matěj Cepl <mcepl@cepl.eu>
Date
Nov 11, 2024, 02:53 UTC
Message-ID
<D5J0DCN2Y2V1.3C2JLTMGY8VAM@cepl.eu>
In-Reply-To
<CABg7He0upi8kmagGO13UMwSWOLeHoryZQU5CGsfbhgqedBKw=Q@mail.gmail.com>
On Sun Nov 10, 2024 at 8:55 AM CET, Martin Imre wrote:
> Just as a general question: With 2 (or even more) different
> implementations that solve the same problem, wouldn’t this be a good
> addition for a future version of git?

There are few problems, one which is the implementation language: git-absorb is Rust and git-fixup is bash (using arrays and other non-POSIX constructs).

Documentation/howto/new-command.txt declares:
    Most subcommands are written in C or shell.  A few are written in
    Perl.
    (And Python scripts are allowed for some specific tasks, namely GUI)

Shell script here quite emphatically means POSIX shell (or at least not using widely non-POSIX constructs like arrays), not bash. In order to even be able to consider any of these commands to be submitted to git proper, it would have to be ported first.

Best,
Matěj
-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Never ascribe to malice that which is adequately explained by
stupidity.
    -- Napoleon Bonaparte (or many other people to whom this
       quote is ascribed)
Previous: Stefan HallerNext: Oswald Buddenhagen
Message 10 of 12 in “Feature Request: Interactively pick fixup revision”
  1. Martin ImreNov 9, 2024
  2. rsbecker@nexbridge.comNov 9, 2024
  3. Martin ImreNov 9, 2024
  4. Matěj CeplNov 9, 2024
  5. Kristoffer HaugsbakkNov 9, 2024
  6. Matěj CeplNov 9, 2024
  7. Martin ImreNov 10, 2024
  8. Kristoffer HaugsbakkNov 10, 2024
  9. Stefan HallerNov 10, 2024
  10. Matěj CeplNov 11, 2024
  11. Oswald BuddenhagenNov 16, 2024
  12. Kristoffer HaugsbakkNov 9, 2024

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.