diff options
author | anatolyrr <anatoly.rr@gmail.com> | 2019-06-16 16:50:11 +0300 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-12-13 10:50:17 +0100 |
commit | e52584c90195d0cc0979efec88b94271a31fe494 (patch) | |
tree | 746687c4359ec4910acafb7a09ebdbfd671551f7 /plugins/npx/npx.plugin.zsh | |
parent | dcf12ba8f3b31eead602c530a9fbfd5579c64630 (diff) | |
download | zsh-e52584c90195d0cc0979efec88b94271a31fe494.tar.gz zsh-e52584c90195d0cc0979efec88b94271a31fe494.tar.bz2 zsh-e52584c90195d0cc0979efec88b94271a31fe494.zip |
perf(mercurial): improve performance of `hg_prompt_info` (#7929)
Replaced two different calls of hg with one `hg --id --branch` for retrieving
information whether we're in a repo (will be empty if not), whether the repo is
dirty (revision id will contain "+" if there are uncommitted changed), and the
branch name.
Closes #6197
Closes #7929
Diffstat (limited to 'plugins/npx/npx.plugin.zsh')
0 files changed, 0 insertions, 0 deletions