revert(3p/git): Revert merge of git upstream at v2.26.2
This causes cgit to serve error pages, which is undesirable. This reverts commit5229c9b232
, reversing changes made tof2b211131f
.
This commit is contained in:
parent
6f8fbf4aa4
commit
93ba78d6f4
1006 changed files with 60537 additions and 148724 deletions
10
third_party/git/compat/win32/path-utils.h
vendored
10
third_party/git/compat/win32/path-utils.h
vendored
|
@ -1,9 +1,5 @@
|
|||
#ifndef WIN32_PATH_UTILS_H
|
||||
#define WIN32_PATH_UTILS_H
|
||||
|
||||
int win32_has_dos_drive_prefix(const char *path);
|
||||
#define has_dos_drive_prefix win32_has_dos_drive_prefix
|
||||
|
||||
#define has_dos_drive_prefix(path) \
|
||||
(isalpha(*(path)) && (path)[1] == ':' ? 2 : 0)
|
||||
int win32_skip_dos_drive_prefix(char **path);
|
||||
#define skip_dos_drive_prefix win32_skip_dos_drive_prefix
|
||||
static inline int win32_is_dir_sep(int c)
|
||||
|
@ -22,5 +18,3 @@ static inline char *win32_find_last_dir_sep(const char *path)
|
|||
#define find_last_dir_sep win32_find_last_dir_sep
|
||||
int win32_offset_1st_component(const char *path);
|
||||
#define offset_1st_component win32_offset_1st_component
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue