another attempt at make_absolute_path()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | added file path helper routinescache.h path.c | +252 | 0 replies | |
| 2/2 | use make_absolute_path() in lock_file()lockfile.c | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] another attempt at make_absolute_path()
Here's my attempt at make_absolute_path() and friends. I think this version handles symlinks cleanly to avoid problems with '..' path elements Junio pointed out recently.
I built these with another patch I previously submitted to make git-config consistently use lockfile.c routines and tested it with the regular test suite plus some extra tests Junio sent to the list for checking git-config symlink handling.
I also built a separate executable with just the path handling routines in it and spot-checked several cases to make sure it appeared to be working as expected. ('/', loop of symlinks, lots of extra slashes, . and .. elements, etc.)
Best Regards,
Bradford