git-svn: Always duplicate paths returned from get_log
authorMattias Nissler <mattias.nissler@gmx.de>
Mon, 6 Jul 2009 23:39:52 +0000 (01:39 +0200)
committerEric Wong <normalperson@yhbt.net>
Sat, 11 Jul 2009 21:14:32 +0000 (14:14 -0700)
commit3c49a03524b686c7b575e0a667736217e5445447
treecb642da65e4d17ef0b1b59d790522538e6bdc4f3
parentd9eb0205a217984f3e70bf18ae66c02a22d3d475
git-svn: Always duplicate paths returned from get_log

This makes get_log more safe to use because callers cannot run into path
clobbering any more. The additional overhead will not affect performance
since the critical calls from the fetch loop need the path duplication
anyway and the rest of the call sites is not performance critical.

Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl