Improve performance of git prompt #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ludens/dotfiles#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
It's a little slow, to the point where it's just noticeable. The issue is that the prompt, for determining the number of staged changes, unstaged changes, untracked files, etc, greps through a separate
git stash --porcelain
invocation. Use a more suitable replacement for substituting format parameters with their numerical values, perhaps withawk
.Replaced with my own binary tool, glfmn/glitter