mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
b54708627b
Summary: Added an optional feature to scm-prompt.sh to show the dirty state of the working directory. Users need to opt in by set the environmental variable `SHOW_DIRTY_STATE` to yes (or whatever nonempty string) in their shell rc file. The idea is that users who do not need/want this feature should see minimal performance hit of their prompt. Unfortunately, in some (large) repos, calling `hg status` or `git diff` to figure out the dirty state can slow down showing the prompt quite a bit. So, in this case, user can opt out individual repo by setting `shell.showDirtyState` in .hg/hgrc or .git/config. Reviewed By: ahornby Differential Revision: D21493543 fbshipit-source-id: 13f7cf2dd2f8d00b58cf2a63dc2cbbf770028411 |
||
---|---|---|
.. | ||
chg | ||
hgsh | ||
python2-winbuild | ||
vim | ||
whochanges | ||
xdiff | ||
bdiff-torture.py | ||
check-code.py | ||
check-config.py | ||
check-py3-compat.py | ||
clang-format-blacklist | ||
dirstatenonnormalcheck.py | ||
editmergeps.bat | ||
editmergeps.ps1 | ||
fix-code.py | ||
git-sl | ||
hg-ssh | ||
hg-test-mode.el | ||
mercurial.el | ||
perf.py | ||
python-hook-examples.py | ||
scm-prompt.sh | ||
synthrepo.py | ||
traceprof.py | ||
zsh_completion |