diff options
author | Bradford C. Smith <bradford.carl.smith@gmail.com> | 2007-07-26 13:34:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-27 00:02:05 -0700 |
commit | 5d5a7a67384ad03007eea1f365ee255c02a40fa3 (patch) | |
tree | 6064b9f7a5608bcf253066bb4579a415a7d7e4c4 /config.c | |
parent | git-stash: do not remove a ref by hand. (diff) | |
download | tgif-5d5a7a67384ad03007eea1f365ee255c02a40fa3.tar.xz |
fully resolve symlinks when creating lockfiles
Make the code for resolving symlinks in lockfile.c more robust as
follows:
1. Handle relative symlinks
2. recursively resolve symlink chains up to 5
[jc: removed lstat/stat calls to do things stupid way]
Signed-off-by: Bradford C. Smith <bradford.carl.smith@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions