]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ah/git-prompt-portability'
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Aug 2024 17:31:28 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Aug 2024 17:31:28 +0000 (10:31 -0700)
The command line prompt support used to be littered with bash-isms,
which has been corrected to work with more shells.

* ah/git-prompt-portability:
  git-prompt: support custom 0-width PS1 markers
  git-prompt: ta-da! document usage in other shells
  git-prompt: don't use shell $'...'
  git-prompt: add some missing quotes
  git-prompt: replace [[...]] with standard code
  git-prompt: don't use shell arrays
  git-prompt: fix uninitialized variable
  git-prompt: use here-doc instead of here-string


Trivial merge