Sync with 2.18.5
* maint-2.18: Git 2.18.5 Git 2.17.6 unpack_trees(): start with a fresh lstat cache run-command: invalidate lstat cache after a command finished checkout: fix bug that makes checkout follow symlinks in leading path
This commit is contained in:
@ -342,6 +342,11 @@ typedef uintmax_t timestamp_t;
|
||||
#define _PATH_DEFPATH "/usr/local/bin:/usr/bin:/bin"
|
||||
#endif
|
||||
|
||||
int lstat_cache_aware_rmdir(const char *path);
|
||||
#if !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||
#define rmdir lstat_cache_aware_rmdir
|
||||
#endif
|
||||
|
||||
#ifndef has_dos_drive_prefix
|
||||
static inline int git_has_dos_drive_prefix(const char *path)
|
||||
{
|
||||
|
Reference in New Issue
Block a user