summaryrefslogtreecommitdiff
path: root/parse-options.c
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2009-01-28 10:03:10 -0500
committerJunio C Hamano <gitster@pobox.com>2009-01-28 10:53:34 -0800
commit98ef23b3b106ef8cf4dc0db34e62a39e044cf99b (patch)
tree5eba5dc712b7fdafc79ec37f1df2420a5d52e978 /parse-options.c
parentd04099382b8ac8f6a54a755fa9a06118595d92d9 (diff)
downloadgit-98ef23b3b106ef8cf4dc0db34e62a39e044cf99b.tar.gz
git-am: minor cleanups
Update usage statement to remove a no-longer supported option, and to hide two options (one a no-op, one internal) unless --help-all is used. Use "test -t 0" instead of "tty -s" to detect when stdin is a terminal. (test -t 0 is used elsewhere in git-am and in other git shell scripts, tty -s is not, and appears to be deprecated by POSIX) Use "test ..." instead of "[ ... ]" and "die <msg>" instead of "echo <msg> >&2; exit 1" to be consistent with rest of script. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.c')
0 files changed, 0 insertions, 0 deletions