Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'

Since Git LFS v3.5.x implicitly dropped Windows 7 support, we now want
users to be advised _what_ is going wrong on that Windows version. This
topic branch goes out of its way to provide users with such guidance.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2024-07-12 22:23:15 +02:00
committed by Git for Windows Build Agent
4 changed files with 210 additions and 0 deletions

View File

@@ -261,6 +261,13 @@ static inline int git_offset_1st_component(const char *path)
#define fspathncmp git_fspathncmp
#endif
#ifndef warn_about_git_lfs_on_windows7
static inline void warn_about_git_lfs_on_windows7(int exit_code UNUSED,
const char *argv0 UNUSED)
{
}
#endif
#ifndef is_valid_path
#define is_valid_path(path) 1
#endif