diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-11-05 06:21:03 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-05 13:36:32 -0800 |
commit | 56fc25f21e280c4f3816e989b34d08d7d7cc59fc (patch) | |
tree | 040ee5d43623b6f678069cc704b2e1866b32a484 /COPYING | |
parent | 76c3eb51ede4619116ef980aa34d087c97c25cbc (diff) | |
download | git-56fc25f21e280c4f3816e989b34d08d7d7cc59fc.tar.gz git-56fc25f21e280c4f3816e989b34d08d7d7cc59fc.tar.xz |
Bash completion support for remotes in .git/config.
Now that Git natively supports remote specifications within the
config file such as:
[remote "origin"]
url = ...
we should provide bash completion support "out of the box" for
these remotes, just like we do for the .git/remotes directory.
Also cleaned up the __git_aliases expansion to use the same form
of querying and filtering repo-config as this saves two fork/execs
in the middle of a user prompted completion. Finally also forced
the variable 'word' to be local within __git_aliased_command.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions