git-am: minor cleanups
authorJay Soffian <jaysoffian@gmail.com>
Wed, 28 Jan 2009 15:03:10 +0000 (10:03 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jan 2009 18:53:34 +0000 (10:53 -0800)
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>
No differences found