diff options
author | Ted Pavlic <ted@tedpavlic.com> | 2009-01-15 11:02:23 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-15 09:35:46 -0800 |
commit | a42577d4c868141343378824814c058de043e24d (patch) | |
tree | bfd87fb517e800edf0c77cb04c9aed6c39c70fc0 /shell.c | |
parent | bash-completion: Try bash completions before simple filetype (diff) | |
download | tgif-a42577d4c868141343378824814c058de043e24d.tar.xz |
bash-completion: Add comments to remind about required arguments
Add a few simple comments above commands that take arguments. These
comments are meant to remind developers of potential problems that
can occur when the script is sourced on systems with "set -u." Any
function which requires arguments really ought to be called with
explicit arguments given.
Also adds a #!bash to the top of bash completions so that editing
software can always identify that the file is of sh type.
Signed-off-by: Ted Pavlic <ted@tedpavlic.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions