diff options
author | David J. Malan <malan@harvard.edu> | 2020-07-21 00:15:31 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-20 17:37:20 -0700 |
commit | e8882a87d9c479fd9d6e71a5840e949579304ab9 (patch) | |
tree | 9882f445bfcc2ea6486052a72339ed7a68484750 /contrib/examples | |
parent | git-prompt: include sparsity state as well (diff) | |
download | tgif-e8882a87d9c479fd9d6e71a5840e949579304ab9.tar.xz |
git-prompt: change == to = for zsh's sake
When using git-prompt.sh with zsh, __git_ps1 currently errs
when inside a repo with:
__git_ps1:96: = not found
Avoid using non-portable "==" that is only understood by bash
and not zsh. Change to "=" so that the prompt script becomes
usable with zsh again.
Signed-off-by: David J. Malan <malan@harvard.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples')
0 files changed, 0 insertions, 0 deletions