[GH-ISSUE #76] Auto-completion is extremely slow #50

Closed
opened 2026-03-02 16:47:47 +03:00 by kerem · 6 comments
Owner

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 SHELL the output is padded by Manim Community v0.16.0.post0 using it for packaging is a little awkward, needing to pipe it through sed '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

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 SHELL` the output is padded by `Manim Community v0.16.0.post0` using it for packaging is a little awkward, needing to pipe it through `sed '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
kerem closed this issue 2026-03-02 16:47:47 +03:00
Author
Owner

@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.

<!-- gh-comment-id:1483741237 --> @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.
Author
Owner

@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!

<!-- gh-comment-id:1492822917 --> @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!
Author
Owner

@initialcommit-io commented on GitHub (Apr 4, 2023):

@MathiasSven Were you able to package this for NixOS?

<!-- gh-comment-id:1496513125 --> @initialcommit-io commented on GitHub (Apr 4, 2023): @MathiasSven Were you able to package this for NixOS?
Author
Owner

@MathiasSven commented on GitHub (Apr 6, 2023):

When I was trying to package git-sim I 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.7 rather than 0.1.2 but 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.

<!-- gh-comment-id:1498364997 --> @MathiasSven commented on GitHub (Apr 6, 2023): When I was trying to package `git-sim` I didn't notice there was an open [PR](https://github.com/NixOS/nixpkgs/pull/212680), but it had been stale for a while. I made changes to include auto-completion and to start at `0.2.7` rather than `0.1.2` but 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](https://github.com/SuperSandro2000/nixpkgs/pull/22) on the authors branch again since it is at 0.2.9 now.
Author
Owner

@paketb0te commented on GitHub (Apr 7, 2023):

@MathiasSven super cool workaround, thanks!

<!-- gh-comment-id:1500598413 --> @paketb0te commented on GitHub (Apr 7, 2023): @MathiasSven super cool workaround, thanks!
Author
Owner

@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!

<!-- gh-comment-id:1501356871 --> @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!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sim#50
No description provided.