Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: show all dirty status indicators (#349)
Summary: Instead of just showing `?` or `*`, show one of each symbol in the dirty status. This means there will be a maximum of 5 characters at the end of the prompt, which is fine. Pull Request resolved: #349 Test Plan: Seems to work: ``` fbsource>scm % setopt PROMPT_SUBST fbsource>scm % source contrib/scm-prompt.sh fbsource>scm % export SHOW_DIRTY_STATE=1 fbsource>scm % export PS1='$(_scm_prompt)$USER@%m:%~%% ' (158b00d6b? M)muirdm@muirdm-mbp:~/fbsource/fbcode/eden/scm% Reviewed By: muirdm Differential Revision: D43326525 Pulled By: quark-zju fbshipit-source-id: 94c0a85e4cf4ffcc5c7c8db9ed64f6ea6d1564a2
- Loading branch information