Skip to content

Commit

Permalink
annotate.perl triggers rpm bug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sean authored and Junio C Hamano committed Mar 11, 2006
1 parent f2561fd commit be767c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-annotate.perl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ()
-r, --rename
Follow renames (Defaults on).
-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
This message.
';
Expand Down

0 comments on commit be767c9

Please sign in to comment.