git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] completion: Fixes GIT_PS1_SHOWDIRTYSTATE problems

From
Ted Pavlic <ted@tedpavlic.com>
Date
Feb 6, 2009, 15:46 UTC
Message-ID
<1233935210-4941-1-git-send-email-ted@tedpavlic.com>

These two patches correct some problems introduced by the recent GIT_PS1_SHOWDIRTYSTATE fixes.

The first changes $VAR to ${VAR-} to prevent the unbound variable errors that were discussed earlier on the list.

The second changes the GIT_PS1_SHOWDIRTYSTATE documentation from
#(Tab)Text
to
#(7 spaces)Text
to be consistent with the surrounding text.
Ted Pavlic (2):
  completion: Fix GIT_PS1_SHOWDIRTYSTATE to prevent unbound variable
    errors.
  completion: Get rid of tabbed indentation in comments. Replace with
    spaces.
 contrib/completion/git-completion.bash |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
Next: Ted Pavlic
Message 1 of 9 in “completion: Fixes GIT_PS1_SHOWDIRTYSTATE problems”
  1. 0/2 completion: Fixes GIT_PS1_SHOWDIRTYSTATE problemsTed Pavlic, Feb 6, 2009
  2. 1/2 completion: Fix GIT_PS1_SHOWDIRTYSTATE to prevent unbound variable errors.Ted Pavlic, Feb 6, 2009
  3. 2/2 completion: Get rid of tabbed indentation in comments. Replace with spaces.Ted Pavlic, Feb 6, 2009
  4. Shawn O. PearceFeb 6, 2009
  5. 1/2 completion: Fix GIT_PS1_SHOWDIRTYSTATE to prevent unbound variable errors.Ted Pavlic, Feb 6, 2009
  6. 2/2 completion: Get rid of tabbed indentation in comments. Replace with spaces.Ted Pavlic, Feb 6, 2009
  7. Shawn O. PearceFeb 6, 2009
  8. Ted PavlicFeb 6, 2009
  9. Thomas RastFeb 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.