Merge branch 'mt/checkout-remove-nofollow'
When "git checkout" removes a path that does not exist in the commit it is checking out, it wasn't careful enough not to follow symbolic links, which has been corrected. * mt/checkout-remove-nofollow: checkout: don't follow symlinks when removing entries symlinks: update comment on threaded_check_leading_path()
This commit is contained in:
2
cache.h
2
cache.h
@ -1659,7 +1659,7 @@ static inline void cache_def_clear(struct cache_def *cache)
|
||||
|
||||
int has_symlink_leading_path(const char *name, int len);
|
||||
int threaded_has_symlink_leading_path(struct cache_def *, const char *, int);
|
||||
int check_leading_path(const char *name, int len);
|
||||
int check_leading_path(const char *name, int len, int warn_on_lstat_err);
|
||||
int has_dirs_only_path(const char *name, int len, int prefix_len);
|
||||
void invalidate_lstat_cache(void);
|
||||
void schedule_dir_for_removal(const char *name, int len);
|
||||
|
Reference in New Issue
Block a user