summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-07-21 14:19:09 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-21 14:19:10 -0700
commitcfa7ae8b6e2f375d3609e526754539ef0791d33b (patch)
tree0bb7c5ddfda578a92506fc73bc3231c13859ebb9 /contrib/completion
parentMerge https://github.com/prati0100/git-gui into master (diff)
parentgit-prompt: change == to = for zsh's sake (diff)
downloadtgif-cfa7ae8b6e2f375d3609e526754539ef0791d33b.tar.xz
Merge branch 'en/sparse-status' into master
Fix to a "git prompt" regression during this development cycle. * en/sparse-status: git-prompt: change == to = for zsh's sake
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-prompt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh
index e6cd5464e5..16260bab73 100644
--- a/contrib/completion/git-prompt.sh
+++ b/contrib/completion/git-prompt.sh
@@ -433,7 +433,7 @@ __git_ps1 ()
local sparse=""
if [ -z "${GIT_PS1_COMPRESSSPARSESTATE}" ] &&
[ -z "${GIT_PS1_OMITSPARSESTATE}" ] &&
- [ "$(git config --bool core.sparseCheckout)" == "true" ]; then
+ [ "$(git config --bool core.sparseCheckout)" = "true" ]; then
sparse="|SPARSE"
fi
@@ -542,7 +542,7 @@ __git_ps1 ()
fi
if [ -n "${GIT_PS1_COMPRESSSPARSESTATE}" ] &&
- [ "$(git config --bool core.sparseCheckout)" == "true" ]; then
+ [ "$(git config --bool core.sparseCheckout)" = "true" ]; then
h="?"
fi