chiark / gitweb /
Teach bash to complete branch names in some places.
authorYann Dirson <ydirson@altern.org>
Sun, 6 May 2007 23:13:57 +0000 (01:13 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 14 May 2007 21:26:24 +0000 (22:26 +0100)
commit450ae43a43b2d0d94ee1f6f0063d5e6ff284f5ad
tree25ec4ea7731208767293c84866682cef35e86a7a
parent532cdf94f80be6fb95682d9673c12a1d1aecf9a0
Teach bash to complete branch names in some places.

This patch causes bash completion to look for branch names instead of
patch names for "branch" and "rebase".

Unfortunately, the current completion framework does not seem flexible
enough to get branch completion after "-b" flags, but I feel things
are already better this way.

Signed-off-by: Yann Dirson <ydirson@altern.org>
contrib/stgit-completion.bash