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

Re: [PATCH 1/2] Revert "switch: no worktree status unless real branch switch happens"

From
Derrick Stolee <stolee@gmail.com>
Date
Aug 22, 2019, 13:41 UTC
Message-ID
<f1490c64-a81f-3269-d2d4-207d0a23cc25@gmail.com>
In-Reply-To
<20190821221504.GA20404@szeder.dev>
On 8/21/2019 6:15 PM, SZEDER Gábor wrote:
Show 9 quoted lines
> On Wed, Aug 21, 2019 at 12:18:33PM -0700, Derrick Stolee via GitGitGadget wrote:
>> This reverts commit 65f099b3988198f0fdf3ef7a21dc01c556d21fff, which
>> removed logic for avoiding extra cost in "git checkout -b" in favor
>> of the new "git switch -c". This will cause a performance issue for
>> users in large repos.
> 
> It always makes me sad when I see a pull request, where all the
> relevant information is only included in the PR, which will not be
> part of the history, but not in the commit messages...
An issue with the RFC quality at the moment. I'll do a better job
if we decide to move this direction.
 
Show 11 quoted lines
>>  builtin/.checkout.c.swp           | Bin 0 -> 77824 bytes
> 
>> diff --git a/builtin/.checkout.c.swp b/builtin/.checkout.c.swp
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..f6dad4abb02c265ee66b3f6f76d00d59b9b524a4
>> GIT binary patch
>> literal 77824
>> zcmeIb37F(pRrf#a46<X03c_z1GgCe3>dYjdA(>2=r6*}KnI2}zLK2GV?&_Y(bXPT1
>> z)icux34uRC00rR{;pJ5jL_ico7FiV85d;D8CG1O3By6%HioE<k-*fK$ZB^AXi9sKq
> 
> Uh-oh.

Whoops! I thought I removed this in time to submit, but I guess I did not.

-Stolee
Previous: SZEDER GáborNext: Derrick Stolee via GitGitGadget
Message 4 of 11 in “[RFC] Revert/delay performance regression in 'git checkout -b'”
  1. 0/2 [RFC] Revert/delay performance regression in 'git checkout -b'Derrick Stolee via GitGitGadget, Aug 21, 2019
  2. 1/2 Revert "switch: no worktree status unless real branch switch happens"Derrick Stolee via GitGitGadget, Aug 21, 2019
  3. SZEDER GáborAug 21, 2019
  4. Derrick StoleeAug 22, 2019
  5. 2/2 DEPRECATION: warn about 'git checkout -b'Derrick Stolee via GitGitGadget, Aug 21, 2019
  6. Elijah NewrenAug 22, 2019
  7. SZEDER GáborAug 21, 2019
  8. Elijah NewrenAug 22, 2019
  9. Derrick StoleeAug 22, 2019
  10. Elijah NewrenAug 22, 2019
  11. Derrick StoleeAug 22, 2019

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.