git.shiar.nl
/
git-grep-footer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a2dafec
)
reset (debug) junk counter between blocks
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 4 Feb 2011 06:09:22 +0000
(07:09 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 4 Feb 2011 06:09:22 +0000
(07:09 +0100)
git-grep-footer
patch
|
blob
|
history
diff --git
a/git-grep-footer
b/git-grep-footer
index fa417c114bb41bf8ad9604a7665eb56ae2e0235d..c39222fd9d6a3280cd817d88d72e1d086bfc8a64 100755
(executable)
--- a/
git-grep-footer
+++ b/
git-grep-footer
@@
-40,12
+40,12
@@
while (readline) {
# if invalid, assume it's latin1
$_ = decode(cp1252 => $_) if $@;
- my $prefix = 0;
my %attr;
BLOCK:
for (reverse split /\n\n/) {
my @headers;
+ my $prefix = 0;
LINE:
for (split /\n/) {