author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 27 Nov 2006 08:41:43 +0000 (03:41 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 27 Nov 2006 20:09:58 +0000 (12:09 -0800) | ||
commit | f53352fbaf2bcc6d209388bb2a68d888ceb8014e | |
tree | 6450bf5c21fef79e4c8d59608b0e5fc9c6f68dba | tree | snapshot |
parent | d3d717a4ad0c8d7329e79f7d0313baec57c6b585 | commit | diff |
Teach bash how to complete git-format-patch.
Provide completion for currently known long options supported by
git-format-patch as well as the revision list specification argument,
which is generally either a refname or in the form a..b.
Since _git_log was the only code that knew how to complete a..b, but
we want to start adding option support to _git_log also refactor the
a..b completion logic out into its own function.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Provide completion for currently known long options supported by
git-format-patch as well as the revision list specification argument,
which is generally either a refname or in the form a..b.
Since _git_log was the only code that knew how to complete a..b, but
we want to start adding option support to _git_log also refactor the
a..b completion logic out into its own function.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/completion/git-completion.bash | diff | blob | history |