[PATCH 0/4] completion: Fixes and better non-work-tree support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted Pavlic
Date: Wednesday, February 11, 2009 - 11:03 am

The first patch has already been Acked by spearce.

The second patch uses a consistent "if..." convention throughout the
completion script.

The third patch improves how the __git_ps1 works when (a) the CWD is a
git dir and (b) when the CWD has a .git but no .git/HEAD.

The fourth patch fixes unbound variable errors by replacing $__vars with
${__var-}s.

Ted Pavlic (4):
  completion: For consistency, changed "git rev-parse" to __gitdir
    calls.
  completion: Use consistent if [...] convention. No test.
  completion: Better __git_ps1 support when not in working directory
  completion: More fixes to prevent unbound variable errors.

 contrib/completion/git-completion.bash |   75 ++++++++++++++++----------------
 1 files changed, 37 insertions(+), 38 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] completion: Fixes and better non-work-tree support, Ted Pavlic, (Wed Feb 11, 11:03 am)
Re: [PATCH 3/4] completion: Better __git_ps1 support when ..., Shawn O. Pearce, (Wed Feb 11, 11:09 am)
Re: [PATCH 4/4] completion: More fixes to prevent unbound ..., Shawn O. Pearce, (Wed Feb 11, 11:09 am)