We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7ae437 + e8882a8 commit cfa7ae8Copy full SHA for cfa7ae8
contrib/completion/git-prompt.sh
@@ -433,7 +433,7 @@ __git_ps1 ()
433
local sparse=""
434
if [ -z "${GIT_PS1_COMPRESSSPARSESTATE}" ] &&
435
[ -z "${GIT_PS1_OMITSPARSESTATE}" ] &&
436
- [ "$(git config --bool core.sparseCheckout)" == "true" ]; then
+ [ "$(git config --bool core.sparseCheckout)" = "true" ]; then
437
sparse="|SPARSE"
438
fi
439
@@ -542,7 +542,7 @@ __git_ps1 ()
542
543
544
if [ -n "${GIT_PS1_COMPRESSSPARSESTATE}" ] &&
545
546
h="?"
547
548
0 commit comments