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

Re: [PATCH] git-rebase--interactive: fix copy-paste mistake

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 28, 2018, 12:56 UTC
Message-ID
<nycvar.QRO.7.76.6.1805281455210.82@tvgsbejvaqbjf.bet>
In-Reply-To
<CAGHpTBLGmApTGsjeP2d93CWH=OWBXmbPdRrGxaobFRcSjUiuYw@mail.gmail.com>
Hi Orgad,
On Sun, 27 May 2018, Orgad Shaneh wrote:
Show 18 quoted lines
> exec argument is a command, not a commit.
> 
> Signed-off-by: Orgad Shaneh <orgads@gmail.com>
> ---
>   git-rebase--interactive.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> index cbf44f8648..85a72b933e 100644
> --- a/git-rebase--interactive.sh
> +++ b/git-rebase--interactive.sh
> @@ -160,7 +160,7 @@ r, reword <commit> = use commit, but edit the commit
> message
>   e, edit <commit> = use commit, but stop for amending
>   s, squash <commit> = use commit, but meld into previous commit
>   f, fixup <commit> = like \"squash\", but discard this commit's log message
> -x, exec <commit> = run command (the rest of the line) using shell
> +x, exec <command> = run command (the rest of the line) using shell

Apart from the white-space (which I *think* might make `git apply` barf on this diff), this looks obviously correct to me.

To make it easier for Junio, maybe you can provide a link to a branch in a public repository, ready to be fetched?

Show 5 quoted lines
>   d, drop <commit> = remove commit
>   l, label <label> = label current HEAD with a name
>   t, reset <label> = reset HEAD to a label
> -- 
> 2.17.0.windows.1

Thank you for cleaning up my mess, Dscho

Previous: Orgad ShanehNext: Orgad Shaneh
Message 2 of 3 in “git-rebase--interactive: fix copy-paste mistake”
  1. git-rebase--interactive: fix copy-paste mistakeOrgad Shaneh, May 27, 2018
  2. Johannes SchindelinMay 28, 2018
  3. Orgad ShanehMay 28, 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.