annotate.perl triggers rpm bug
RPM, at least on Fedora boxes, automatically creates a
dependency for any perl "use" lines, and one of the help text
lines unfortunately begins like this:
-S, --rev-file revs-file
use revs from revs-file instead of calling git-rev-list
RPM gets confused and creates a false dependecy for the
nonexistent perl package "revs". Obviously this creates a
problem when someone goes to install the git-core rpm.
Since other help sentences all start with capital letter, make
this one match them by upcasing "Use". As a side effect, RPM
stops getting confused.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -20,7 +20,7 @@ sub usage() {
|
|||||||
-r, --rename
|
-r, --rename
|
||||||
Follow renames (Defaults on).
|
Follow renames (Defaults on).
|
||||||
-S, --rev-file revs-file
|
-S, --rev-file revs-file
|
||||||
use revs from revs-file instead of calling git-rev-list
|
Use revs from revs-file instead of calling git-rev-list
|
||||||
-h, --help
|
-h, --help
|
||||||
This message.
|
This message.
|
||||||
';
|
';
|
||||||
|
|||||||
Reference in New Issue
Block a user