commit | a42577d4c868141343378824814c058de043e24d | [log] [tgz] |
---|---|---|
author | Ted Pavlic <ted@tedpavlic.com> | Thu Jan 15 11:02:23 2009 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Jan 15 09:35:46 2009 -0800 |
tree | bfd87fb517e800edf0c77cb04c9aed6c39c70fc0 | |
parent | 50e126e185c196b9b66dcdefb4b05f090d62dd4c [diff] |
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>