summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d0e634)
raw | patch | inline | side by side (parent: 5d0e634)
author | Nick Woolley <nick@noodlefactory.co.uk> | |
Mon, 6 Jul 2009 13:33:07 +0000 (14:33 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 6 Jul 2009 16:36:39 +0000 (09:36 -0700) |
Using it will generate a perl warning "\1 better written as $1".
Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsexportcommit.perl | patch | blob | history |
index a36df3392652b8a854ca48bdf71977dcf12b244b..d50946872a73d4ddb4bce0e6101ae144395613a4 100755 (executable)
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
while (<FILTER_IN>)
{
my $line = $_;
- $line =~ s/\$([A-Z][a-z]+):[^\$]+\$/\$\1\$/g;
+ $line =~ s/\$([A-Z][a-z]+):[^\$]+\$/\$$1\$/g;
print FILTER_OUT $line;
}
close FILTER_IN;