Skip to content

Purest update to bash completions to prevent unbounded variable errors.

Ted Pavlic git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Purest update to bash completions to prevent unbounded variable errors.contrib/completion/git-completion.bash+9 -95 replies
2/3Makes the bash completion script try *bash* completions before simple, filetype completions when a git completion is not found. If bash, completions aren't available, the default file completions are used. This, behavior was inspired by Mercurial's bash completion script.contrib/completion/git-completion.bash+6 -31 reply
3/3Adds a #!bash to the top of bash completions so that editors can recognize, it as a bash script. Also adds a few simple comments above commands that, take arguments. The comments are meant to remind editors of potential, problems that can occur when the script is sourced on systems with "set, -u."contrib/completion/git-completion.bash+15 -06 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchShawn O. Pearce
1/3A-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread