diff options
author | Mattias Nissler <mattias.nissler@gmx.de> | 2009-07-07 01:39:52 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-11 14:14:32 -0700 |
commit | 3c49a03524b686c7b575e0a667736217e5445447 (patch) | |
tree | cb642da65e4d17ef0b1b59d790522538e6bdc4f3 /name-hash.c | |
parent | d9eb0205a217984f3e70bf18ae66c02a22d3d475 (diff) | |
download | git-3c49a03524b686c7b575e0a667736217e5445447.tar.gz git-3c49a03524b686c7b575e0a667736217e5445447.tar.xz |
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>
Diffstat (limited to 'name-hash.c')
0 files changed, 0 insertions, 0 deletions