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

git rebase -i exec merger broke t3404-rebase-interactive.sh

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Aug 13, 2010, 16:37 UTC
Message-ID
<AANLkTinzBuR+9=+PwejJVwSkUiGODaP-RC7=agyLOgMt@mail.gmail.com>

39e388728 (merging git rebase -i exec support) broke the funny names test in t3404-rebase-interactive.sh:

    expecting success:
            git rev-list A..funny >expect &&
            test_tick &&
            FAKE_LINES="1 2 3 4" git rebase -i A &&
            git rev-list A.. >actual &&
            test_cmp expect actual
    rebase -i script before editing:
    pick f6fec15 end with slash\
    pick 4f2ade4 something (\000) that looks like octal
    pick f95dfbf something (\n) that looks like a newline
    pick 0e82af6 another commit
    rebase -i script after editing:
    pick f6fec15 end with slash\
    pick 4f2ade4 something (\000) that looks like octal
    pick f95dfbf something (\n) that looks like a newline
    pick 0e82af6 another commit
    Unknown command: ) that looks like a newline
    Please fix this in the file /home/avar/g/git/t/trash
directory.t3404-rebase-interactive/.git/rebase-merge/git-rebase-todo.
    not ok - 50 rebase-i history with funny messages
    #
    #               git rev-list A..funny >expect &&
    #               test_tick &&
    #               FAKE_LINES="1 2 3 4" git rebase -i A &&
    #               git rev-list A.. >actual &&
    #               test_cmp expect actual
    #

This one breaks under bash too, does it work for you Matthieu? If so what sort of environment are you executing it in?

Next: Brian Gernhardt
Message 1 of 7 in “git rebase -i exec merger broke t3404-rebase-interactive.sh”
  1. Ævar Arnfjörð BjarmasonAug 13, 2010
  2. Brian GernhardtAug 13, 2010
  3. 1/2 git-rebase--interactive.sh: rework skip_unnecessary_picksBrandon Casey, Aug 13, 2010
  4. 2/2 git-rebase--interactive.sh: use printf instead of echo to print commit messageBrandon Casey, Aug 13, 2010
  5. Brian GernhardtAug 13, 2010
  6. Matthieu MoyAug 15, 2010
  7. Junio C HamanoAug 22, 2010

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.