[PATCH v3 0/3] Keep .lock file paths absolute
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Jul 31, 2014, 13:43 UTC
- Message-ID
- <1406814214-21725-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1405858399-23082-1-git-send-email-pclouds@gmail.com>
v3 requires rs/strbuf-getcwd, turns paths to absolute from the beginning, and kills the last use of PATH_MAX in lockfile.c thanks to strbuf_readlink().
Nguyễn Thái Ngọc Duy (3): lockfile.c: remove PATH_MAX limitation (except in resolve_symlink) lockfile.c: remove PATH_MAX limit in resolve_symlink() lockfile.c: store absolute path
cache.h | 2 +- lockfile.c | 95 +++++++++++++++++++------------------------ t/t2107-update-index-basic.sh | 15 +++++++ 3 files changed, 58 insertions(+), 54 deletions(-)
-- 2.1.0.rc0.78.gc0d8480