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

Re: [PATCH] additional help when editing during interactive rebase

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 9, 2008, 02:55 UTC
Message-ID
<7vsl17pv1c.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1199845915-sup-797@south>
William Morgan <wmorgan-git@masanjin.net> writes:
> I personally would have found this message useful the first time I used
> git rebase --interactive. YMMV.

Aside from this message being inappropriate as a proposed commit log message, I think what the patch tries to achieve is a worthy UI improvement.

I would have removed those empty lines around the instruction if I were patching this, though. Losing 5 lines out of 25-line terminal was marginally Ok. Losing 9 lines 4 lines too many and is unacceptable.

Thoughts?
Show 26 quoted lines
> Signed-off-by: William Morgan <wmorgan-git@masanjin.net>
> ---
>  git-rebase--interactive.sh |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> index acdcc54..d53d283 100755
> --- a/git-rebase--interactive.sh
> +++ b/git-rebase--interactive.sh
> @@ -263,6 +263,10 @@ do_next () {
>  		warn
>  		warn "	git commit --amend"
>  		warn
> +		warn "Once amended, continue with"
> +		warn
> +		warn "	git rebase --continue"
> +		warn
>  		exit 0
>  		;;
>  	squash|s)
> -- 
> 1.5.4.rc2.68.ge708a-dirty
>
>
> -- 
> William <wmorgan-git@masanjin.net>
Previous: William MorganNext: William Morgan
Message 2 of 6 in “additional help when editing during interactive rebase”
  1. additional help when editing during interactive rebaseWilliam Morgan, Jan 9, 2008
  2. Junio C HamanoJan 9, 2008
  3. additional help when editing during interactive rebaseWilliam Morgan, Jan 9, 2008
  4. Johannes SchindelinJan 9, 2008
  5. Junio C HamanoJan 11, 2008
  6. Johannes SchindelinJan 11, 2008

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.