Code

annotate: fix -S parameter to take a string
authorMartin Langhoff <martin@catalyst.net.nz>
Thu, 2 Mar 2006 04:24:30 +0000 (17:24 +1300)
committerJunio C Hamano <junkio@cox.net>
Thu, 2 Mar 2006 05:33:27 +0000 (21:33 -0800)
commit009315499e789d241998fcc5add1f109af8ba0e6
treee01a69b993b62d09a2ca80cb1ba2142ea1379c7b
parent7c3ecb65eec9ff2c39c781958bf50ed6541e1332
annotate: fix -S parameter to take a string

In the conversion to Getopt::Long, the -S / --rev-list parameter stopped
working. We need to tell Getopt::Long that it is a string.

As a bonus, the open() now does some useful error handling.

Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-annotate.perl