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

Re: [PATCH 1/1] pull --rebase=<type>: allow single-letter abbreviations for the type

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 6, 2018, 19:59 UTC
Message-ID
<xmqqh8k7nu4l.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<d2ba1e6bef9d6d4eabc8eaa60435dcae1105fd07.1533410586.git.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 20 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>
> Git for Windows' original 4aa8b8c8283 (Teach 'git pull' to handle
> --rebase=interactive, 2011-10-21) had support for the very convenient
> abbreviation
>
> 	git pull --rebase=i
>
> which was later lost when it was ported to the builtin `git pull`, and
> it was not introduced before the patch eventually made it into Git as
> f5eb87b98dd (pull: allow interactive rebase with --rebase=interactive,
> 2016-01-13).
>
> However, it is *really* a useful short hand for the occasional rebasing
> pull on branches that do not usually want to be rebased.
>
> So let's reintroduce this convenience, at long last.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---

Makes sense, whether this patch is adding back what in the past existed only in the Windows port but lost, and whether the lossage was long time ago or in just a few releases go, or it is adding a complete new feature for that matter. This looks like a good short-hand.

Will queue.
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin
Message 3 of 7 in “Support git pull --rebase=i <remote> <branch>”
  1. 0/1 Support git pull --rebase=i <remote> <branch>Johannes Schindelin via GitGitGadget, Aug 4, 2018
  2. 1/1 pull --rebase=<type>: allow single-letter abbreviations for the typeJohannes Schindelin via GitGitGadget, Aug 4, 2018
  3. Junio C HamanoAug 6, 2018
  4. Johannes SchindelinAug 7, 2018
  5. Ævar Arnfjörð BjarmasonAug 7, 2018
  6. Junio C HamanoAug 8, 2018
  7. Junio C HamanoAug 8, 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.