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 /builtin-check-attr.c | |
parent | 7ab3cc70a6aad2e4f8ccaa98e5520aa126eaef8f (diff) | |
download | git-5d5a7a67384ad03007eea1f365ee255c02a40fa3.tar.gz |
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 'builtin-check-attr.c')
0 files changed, 0 insertions, 0 deletions