Skip to content

Keep .lock file paths absolute

Nguyễn Thái Ngọc Duy git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesIn review
  2. v22 patches 9 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lockfile.c: remove PATH_MAX limitation (except in resolve_symlink)cache.h lockfile.c+33 -258 replies
2/3lockfile.c: remove PATH_MAX limit in resolve_symlink()lockfile.c+14 -330 replies
3/3lockfile.c: store absolute pathlockfile.c t/t2107-update-index-basic.sh+20 -50 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchRamsay JonesJohannes Sixt
1/3
2/3
3/3Helped-by Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Keep .lock file paths absolute

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(-)
Signature · 1 line
2.1.0.rc0.78.gc0d8480