diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-11 22:37:38 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-11 22:37:38 -0800 |
commit | f7a2eb735982e921ae4379f1dcf5f7a023610393 (patch) | |
tree | 26fe2c59a8fed68a531e7b855a495f52198162a2 /git-archimport.perl | |
parent | 23ea3e201cea0deea909569e08e950a9ec2345f7 (diff) | |
parent | 7765e7ebda7e273bca34e87110be899447068b58 (diff) | |
download | git-f7a2eb735982e921ae4379f1dcf5f7a023610393.tar.gz git-f7a2eb735982e921ae4379f1dcf5f7a023610393.tar.xz |
This is GIT 1.0-rc1 in disguise. It is plausible that
relatively new parts of the system still need tweaking and
fixing, but that is why it is not 1.0 but rc ;-).
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-archimport.perl')
-rwxr-xr-x | git-archimport.perl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git-archimport.perl b/git-archimport.perl index 980e827b2..e22c81628 100755 --- a/git-archimport.perl +++ b/git-archimport.perl @@ -565,6 +565,11 @@ sub parselog { next if $t =~ m!\{arch\}/!; next if $t =~ m!\.arch-ids/!; next if $t =~ m!\.arch-inventory$!; + # tla cat-archive-log will give us filenames with spaces as file\(sp)name - why? + # we can assume that any filename with \ indicates some pika escaping that we want to get rid of. + if ($t =~ /\\/ ){ + $t = `tla escape --unescaped '$t'`; + } push (@tmp, shell_quote($t)); } @$ref = @tmp; |