Commit Graph

30 Commits (master)

Author SHA1 Message Date
Elijah Newren 00fcce285d symlinks: do not include startup_info->original_cwd in dir removal 10 months ago
Matheus Tavares fab78a0c3d checkout: don't follow symlinks when removing entries 2 years ago
Matheus Tavares 462b4e8dfd symlinks: update comment on threaded_check_leading_path() 2 years ago
Matheus Tavares 684dd4c2b4 checkout: fix bug that makes checkout follow symlinks in leading path 2 years ago
Nguyễn Thái Ngọc Duy ec36c42a63 Indent code with TABs 4 years ago
Karsten Blees e7c7305300 symlinks: remove PATH_MAX limitation 8 years ago
Junio C Hamano 72f3196a2d symlinks.c: mark private file-scope symbols as static 10 years ago
Jared Hance 15438d5a56 Add threaded versions of functions in symlinks.c. 11 years ago
Clemens Buchacher 1d718a5108 do not overwrite untracked symlinks 12 years ago
Clemens Buchacher b1735b1ab7 do not overwrite files in leading path 12 years ago
Clemens Buchacher f7e3bd37fb lstat_cache: optionally return match_len 12 years ago
Clemens Buchacher f66caaf9c8 do not overwrite files in leading path 12 years ago
Clemens Buchacher 4856ff2a19 lstat_cache: optionally return match_len 12 years ago
Junio C Hamano 64161a6b23 symlinks.c: remove unused functions 13 years ago
Kjetil Barvik 77716755cb lstat_cache: guard against full match of length of 'name' parameter 13 years ago
Linus Torvalds b9fd284657 Export thread-safe version of 'has_symlink_leading_path()' 13 years ago
Linus Torvalds 867f72bf43 Prepare symlink caching for thread-safety 13 years ago
Kjetil Barvik cb319c3631 symlinks.c: small style cleanup 13 years ago
Kjetil Barvik 381b920b8a Revert "lstat_cache(): print a warning if doing ping-pong between cache types" 14 years ago
Kjetil Barvik 7734f04873 lstat_cache(): print a warning if doing ping-pong between cache types 14 years ago
Kjetil Barvik 7847892716 unlink_entry(): introduce schedule_dir_for_removal() 14 years ago
Kjetil Barvik 571998921d lstat_cache(): swap func(length, string) into func(string, length) 14 years ago
Kjetil Barvik 148bc06b91 lstat_cache(): generalise longest_match_lstat_cache() 14 years ago
Kjetil Barvik 60b458b7d3 lstat_cache(): small cleanup and optimisation 14 years ago
Kjetil Barvik bda6eb0da9 lstat_cache(): introduce clear_lstat_cache() function 14 years ago
Kjetil Barvik aeabab5c71 lstat_cache(): introduce invalidate_lstat_cache() function 14 years ago
Kjetil Barvik bad4a54fa6 lstat_cache(): introduce has_dirs_only_path() function 14 years ago
Kjetil Barvik 09c9306658 lstat_cache(): introduce has_symlink_or_noent_leading_path() function 14 years ago
Kjetil Barvik 92604b4663 lstat_cache(): more cache effective symlink/directory detection 14 years ago
Linus Torvalds c40641b77b Optimize symlink/directory detection 15 years ago
Junio C Hamano f859c846e9 Add has_symlink_leading_path() function. 16 years ago