summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2342c4e)
raw | patch | inline | side by side (parent: 2342c4e)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 29 Apr 2007 07:31:14 +0000 (00:31 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 29 Apr 2007 08:34:59 +0000 (01:34 -0700) |
This heeds advice from our resident Perl expert to make sure
the script is not confused with a string that ends with /\n
Signed-off-by: Junio C Hamano <junkio@cox.net>
the script is not confused with a string that ends with /\n
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/fast-import/import-tars.perl | patch | blob | history |
index e84647770abbac3090bd92d256edf23565a0bae6..82a90429c8e1a1095851fc706bd456466da40008 100755 (executable)
Z8 Z1 Z100 Z6
Z2 Z32 Z32 Z8 Z8 Z*', $_;
last unless $name;
- next if $name =~ '/$';
+ next if $name =~ m{/\z};
$mode = oct $mode;
$size = oct $size;
$mtime = oct $mtime;