mirror of
https://github.com/initialcommit-com/git-sim.git
synced 2026-04-26 19:15:51 +03:00
[GH-ISSUE #76] Auto-completion is extremely slow #50
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sim#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MathiasSven on GitHub (Mar 24, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/76
Hi, I found out about this project a couple of days ago, I wanted to help package it for my distro but while doing so I noticed two issues.
The first one is pretty minor, when you run
git-sim --show-completion SHELLthe output is padded byManim Community v0.16.0.post0using it for packaging is a little awkward, needing to pipe it throughsed '1,2d'.The second issue is that auto-completion is really slow, making it quite annoying to use. I have included a video showcasing it
https://user-images.githubusercontent.com/24759037/227434743-6bee5ce3-06bb-454d-b1d6-37960e805832.mp4
@initialcommit-io commented on GitHub (Mar 25, 2023):
Hi again,
This is merged into dev now. I'm putting the finishing touches on the next git-sim release so hopefully will have that out in a few days, including this enhancement.
I'll keep this open until it's deployed and you can verify it works. I'll leave another note here when ready for you to test.
@initialcommit-io commented on GitHub (Apr 1, 2023):
Just released this! Please use git-sim version 0.2.9 to take advantage of this. You can upgrade git-sim with:
pip install git-sim --upgrade.I'll close this for now since it's implemented, but please keep me posted on integrating git-sim into NixOS!
@initialcommit-io commented on GitHub (Apr 4, 2023):
@MathiasSven Were you able to package this for NixOS?
@MathiasSven commented on GitHub (Apr 6, 2023):
When I was trying to package
git-simI didn't notice there was an open PR, but it had been stale for a while.I made changes to include auto-completion and to start at
0.2.7rather than0.1.2but I was waiting on the PR author to include them. The PR seems to have gone inactive again, but it also wasn't building... I will update my PR on the authors branch again since it is at 0.2.9 now.@paketb0te commented on GitHub (Apr 7, 2023):
@MathiasSven super cool workaround, thanks!
@initialcommit-io commented on GitHub (Apr 10, 2023):
@MathiasSven Thanks for the update! Hopefully it gets merged. If you have a chance please let us know if it gets accepted!