@matheusbsbs / matheus-bagliano / commits / c70680ce7c
Fork 0

Update bash completion header documentation

1) Added a note about supporting the long options for most commands, as we have been doing so for quite some time. 2) Include a notice that these routines are covered by the GPL, as that may not be obvious, even though they are distributed as part of the core Git distribution. 3) Added a short section on how to send patches to the routines, and to whom they should get sent to. Currently that is me, as I am the active maintainer. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed May 24, 2007 at 01:36 UTC c70680ce7cec72a465468c223d43c08f5254d31f
1 file changed +14 -1
contrib/completion/git-completion.bash
+14 -1
@@ -1,8 +1,9 @@
1 #
2 # bash completion support for core Git.
3 #
4 -# Copyright (C) 2006,2007 Shawn Pearce
4 +# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
5 # Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
6 +# Distributed under the GNU General Public License, version 2.0.
7 #
8 # The contained completion routines provide support for completing:
9 #
@@ -11,6 +12,7 @@
12 # *) .git/remotes file names
13 # *) git 'subcommands'
14 # *) tree paths within 'ref:path/to/file' expressions
15 +# *) common --long-options
16 #
17 # To use these routines:
18 #
@@ -31,6 +33,17 @@
33 # are currently in a git repository. The %s token will be
34 # the name of the current branch.
35 #
36 +# To submit patches:
37 +#
38 +# *) Read Documentation/SubmittingPatches
39 +# *) Send all patches to the current maintainer:
40 +#
41 +# "Shawn O. Pearce" <spearce@spearce.org>
42 +#
43 +# *) Always CC the Git mailing list:
44 +#
45 +# git@vger.kernel.org
46 +#
47
48 __gitdir ()
49 {