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

Re: [GSoC][PATCH 1/1] rebase--interactive: rewrite the edit-todo functionality in C

From
Elijah Newren <newren@gmail.com>
Date
Jun 12, 2018, 15:46 UTC
Message-ID
<CABPp-BHG41ePN1jRxADfb47FnXfKgJ++Jv=DUiTPwpUJUi=C=w@mail.gmail.com>
In-Reply-To
<20180611135714.29378-2-alban.gruin@gmail.com>
Hi Alban,
On Mon, Jun 11, 2018 at 6:57 AM, Alban Gruin <alban.gruin@gmail.com> wrote:
Show 7 quoted lines
> This rewrites the edit-todo functionality from shell to C.
>
> To achieve that, a new command mode, `edit-todo`, is added, and the
> `write-edit-todo` flag is removed, as the shell script does not need to
> write the edit todo help message to the todo list anymore.
>
> The shell version is then stripped in favour of a call to the helper.

I looked over the patch and didn't see any problems (though I haven't worked with rebase--helper before, or the code for todo list editing), but when I went to apply the patch it failed telling me:

Applying: rebase--interactive: rewrite the edit-todo functionality in C
error: sha1 information is lacking or useless (builtin/rebase--helper.c).
error: could not build fake ancestor
Patch failed at 0001 rebase--interactive: rewrite the edit-todo
functionality in C
Use 'git am --show-current-patch' to see the failed patch

I tried each of master, next, and pu (as of today) to see if it might apply there. On which commit is this patch based? (Do you have other local commits that this was based on top of?)

Elijah
Previous: Phillip WoodNext: Alban Gruin
Message 6 of 19 in “rebase -i: rewrite the edit-todo functionality in C”
  1. Alban GruinJun 11, 2018
  2. [GSoC][PATCH 1/1] rebase--interactive: rewrite the edit-todo functionality in CAlban Gruin, Jun 11, 2018
  3. Phillip WoodJun 11, 2018
  4. Alban GruinJun 12, 2018
  5. Phillip WoodJun 12, 2018
  6. Elijah NewrenJun 12, 2018
  7. Alban GruinJun 12, 2018
  8. [GSoC][PATCH v2 0/2] rebase -i: rewrite the edit-todo functionality in CAlban Gruin, Jun 13, 2018
  9. [GSoC][PATCH v2 1/2] editor: add a function to launch the sequence editorAlban Gruin, Jun 13, 2018
  10. [GSoC][PATCH v2 2/2] rebase--interactive: rewrite the edit-todo functionality in CAlban Gruin, Jun 13, 2018
  11. Junio C HamanoJun 14, 2018
  12. Alban GruinJun 14, 2018
  13. Elijah NewrenJun 14, 2018
  14. Phillip WoodJun 14, 2018
  15. [GSoC][PATCH v3 0/2] rebase -i: rewrite the edit-todo functionality in CAlban Gruin, Jun 26, 2018
  16. [GSoC][PATCH v3 1/2] editor: add a function to launch the sequence editorAlban Gruin, Jun 26, 2018
  17. [GSoC][PATCH v3 2/2] rebase-interactive: rewrite the edit-todo functionality in CAlban Gruin, Jun 26, 2018
  18. Johannes SchindelinJun 26, 2018
  19. Johannes SchindelinJun 26, 2018

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.