Skip to content

Commit 26d0946

Browse files
committed
Merge branch 'update-ready-for-upstream'
This closes git-for-windows#1936 Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 82dacae + cb5118b commit 26d0946

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

compat/win32/pthread.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,6 @@ typedef int pthread_mutexattr_t;
3434

3535
#define pthread_cond_t CONDITION_VARIABLE
3636

37-
WINBASEAPI VOID WINAPI
38-
InitializeConditionVariable(PCONDITION_VARIABLE ConditionVariable);
39-
WINBASEAPI VOID WINAPI
40-
WakeConditionVariable(PCONDITION_VARIABLE ConditionVariable);
41-
WINBASEAPI VOID WINAPI
42-
WakeAllConditionVariable(PCONDITION_VARIABLE ConditionVariable);
43-
WINBASEAPI BOOL WINAPI
44-
SleepConditionVariableCS(PCONDITION_VARIABLE ConditionVariable,
45-
PCRITICAL_SECTION CriticalSection,
46-
DWORD dwMilliseconds);
47-
4837
#define pthread_cond_init(a,b) InitializeConditionVariable((a))
4938
#define pthread_cond_destroy(a) do {} while (0)
5039
#define pthread_cond_wait(a,b) return_0(SleepConditionVariableCS((a), (b), INFINITE))

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ static int do_git_config_sequence(const struct config_options *opts,
16691669
if (opts->commondir)
16701670
repo_config = mkpathdup("%s/config", opts->commondir);
16711671
else if (opts->git_dir)
1672-
repo_config = mkpathdup("%s/config", opts->git_dir);
1672+
BUG("git_dir without commondir");
16731673
else
16741674
repo_config = NULL;
16751675

http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ static CURL *get_curl_handle(void)
835835
curl_easy_setopt(result, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NO_REVOKE);
836836
#else
837837
warning("CURLSSLOPT_NO_REVOKE not applied to curl SSL options because\n"
838-
"your curl version is too old (>= 7.44.0)");
838+
"your curl version is too old (< 7.44.0)");
839839
#endif
840840
}
841841

t/test-lib.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,15 @@ export PERL_PATH SHELL_PATH
6868

6969
################################################################
7070
# It appears that people try to run tests without building...
71-
test -n "$GIT_TEST_INSTALLED" || "$GIT_BUILD_DIR/git$X" >/dev/null ||
71+
"${GIT_TEST_INSTALLED:-$GIT_BUILD_DIR}/git$X" >/dev/null
7272
if test $? != 1
7373
then
74-
echo >&2 'error: you do not seem to have built git yet.'
74+
if test -n "$GIT_TEST_INSTALLED"
75+
then
76+
echo >&2 "error: there is no working Git at '$GIT_TEST_INSTALLED'"
77+
else
78+
echo >&2 'error: you do not seem to have built git yet.'
79+
fi
7580
exit 1
7681
fi
7782

0 commit comments

Comments
 (0)