Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2012-07-27 21:10:06 +0400
committerJunio C Hamano <gitster@pobox.com>2012-08-17 07:34:56 +0400
commita6253da0f30c5bee1ecb9bea313881dc8e50efda (patch)
tree2fe91c12792715f5f8e927a37623b98dfa190deb /t/lib-credential.sh
parent2a9a19e1b160c8c63c470d4c236d65709214a66f (diff)
contrib: add win32 credential-helper
Since the Windows port of Git expects binary pipes, we need to make sure the helper-end also sets up binary pipes. Side-step CRLF-issue in test to make it pass. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-credential.sh')
-rwxr-xr-xt/lib-credential.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 957ae936e8..3c43ff11b3 100755
--- a/t/lib-credential.sh
+++ b/t/lib-credential.sh
@@ -18,6 +18,10 @@ check() {
cat stderr &&
false
fi &&
+ if test_have_prereq MINGW
+ then
+ dos2unix -q stderr
+ fi &&
test_cmp expect-stdout stdout &&
test_cmp expect-stderr stderr
}