From 09cb059afe54f6bee8d4eebaec001aaa1103a421 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 25 Apr 2012 17:05:27 +0200
Subject: [PATCH] in recent git version, the prompt is "UserName for 'xxx': ".

---
 product/ERP5VCS/bin/git_askpass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5VCS/bin/git_askpass b/product/ERP5VCS/bin/git_askpass
index 65b6ea253a..cf9c84994a 100755
--- a/product/ERP5VCS/bin/git_askpass
+++ b/product/ERP5VCS/bin/git_askpass
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 
 case "$1" in
-  Username:\ ) echo -n "$ERP5_GIT_USERNAME" ;;
-  Password:\ ) echo -n "$ERP5_GIT_PASSWORD" ;;
+  Username*:\ ) echo -n "$ERP5_GIT_USERNAME" ;;
+  Password*:\ ) echo -n "$ERP5_GIT_PASSWORD" ;;
   *) false ;;
 esac
-- 
2.30.9