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

Re: [PATCH 0/1] git-rebase--interactive.sh: fix trailing spaces on empty $todo

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 20, 2018, 14:12 UTC
Message-ID
<xmqqfty42r6o.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180918134412.32766-1-m.shulhan@gmail.com>
Shulhan <m.shulhan@gmail.com> writes:
Show 13 quoted lines
> For someone who use editor that display trailing white spaces, issuing
> interactive rebase will print two empty lines at the end of rebase with the
> last line contains tab,
>
>   #	However, if you remove everything, the rebase will be aborted.
>   #
>   #\t
>   # Note that empty commits are commented out
>
> The character "\t" in above example is white space tab.
>
> The "make test" was run succesfully but I can't reproduce/test manually with
> non-empty $todo (I have no idea how to do it).

While the issue may still be there, I think that the mid-term plan for the release after this cycle is to use the GSoC version of "rebase -i" that rewrites all the logic that produces the above in C, which has been cooking in 'pu', and hopefully we can see it or its reroll in 'next' soonish.

So please see if the issue is there, or if you find other new issues (as this is essentially an attempted faithful re-implementation), in the version on 'pu', and report/fix them in there if necessary.

Thanks.
Show 5 quoted lines
> Shulhan (1):
>   git-rebase--interactive.sh: fix trailing spaces on empty $todo
>
>  git-rebase--interactive.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Previous: Shulhan
Message 3 of 3 in “git-rebase--interactive.sh: fix trailing spaces on empty $todo”
  1. 0/1 git-rebase--interactive.sh: fix trailing spaces on empty $todoShulhan, Sep 18, 2018
  2. 1/1 git-rebase--interactive.sh: fix trailing spaces on empty $todoShulhan, Sep 18, 2018
  3. Junio C HamanoSep 20, 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.