Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git::unquote_path(): handle '\a'
[gitweb.git]
/
perl
/
Git.pm
diff --git
a/perl/Git.pm
b/perl/Git.pm
index cf7a7e6a516c4a2802908dd8ce7971fc52bb7e30..3179e6efb29a1a88df8f90aa458fbe5f9a41d419 100644
(file)
--- a/
perl/Git.pm
+++ b/
perl/Git.pm
@@
-1461,6
+1461,7
@@
sub prefix_lines {
{
my %cquote_map = (
+ "a" => chr(7),
"b" => chr(8),
"t" => chr(9),
"n" => chr(10),
@@
-1487,7
+1488,7
@@
sub prefix_lines {
$_ = $2;
last;
}
- if (/^([\\\042btnvfr])(.*)$/) {
+ if (/^([\\\042
a
btnvfr])(.*)$/) {
$retval .= $cquote_map{$1};
$_ = $2;
last;