Re: [PATCH 1/2] Revert "switch: no worktree status unless real branch switch happens"
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Aug 21, 2019, 22:15 UTC
- Message-ID
- <20190821221504.GA20404@szeder.dev>
- In-Reply-To
- <538420ffd575f1705e9fb764f9d86e5d4d7f25ad.1566415112.git.gitgitgadget@gmail.com>
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...
> builtin/.checkout.c.swp | Bin 0 -> 77824 bytes
Show 7 quoted lines
> 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^AXi9sKqUh-oh.