Improve performance of git prompt #3

Closed
opened 2017-07-10 23:45:32 +00:00 by glfmn · 1 comment
glfmn commented 2017-07-10 23:45:32 +00:00 (Migrated from github.com)

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 with awk.

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 with `awk`.
glfmn commented 2022-06-14 23:12:31 +00:00 (Migrated from github.com)

Replaced with my own binary tool, glfmn/glitter

Replaced with my own binary tool, [glfmn/glitter](https://github.com/glfmn/glitter)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: ludens/dotfiles#3
No description provided.