completion: Fixes and better non-work-tree support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | completion: For consistency, changed "git rev-parse" to __gitdir calls.contrib/ | +2 | 0 replies | |
| 1/4 | completion: For consistency, changed "git rev-parse" to __gitdir calls.contrib/ | +2 | 0 replies | |
| 2/4 | completion: Use consistent if [...] convention. No test.contrib/ | +11 | 10 replies | |
| 2/4 | completion: Use consistent if [...] convention. No test.contrib/ | +11 | 0 replies | |
| 3/4 | completion: Better __git_ps1 support when not in working directorycontrib/ | +22 | 1 reply | |
| 3/4 | completion: Better __git_ps1 support when not in working directorycontrib/ | +23 | 0 replies | |
| 4/4 | completion: More fixes to prevent unbound variable errors.contrib/ | +4 | 1 reply | |
| 4/4 | completion: More fixes to prevent unbound variable errors.contrib/ | +4 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Shawn O. Pearce |
|---|---|
| 1/4 | A-b A-b |
| 1/4 | A-b A-b |
| 2/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b A-b |
| 3/4 | A-b A-b |
| 4/4 | A-b A-b |
| 4/4 | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] completion: Fixes and better non-work-tree support
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(-)