Re: [PATCH 10/13] credentials: add "cache" helper

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 10/13] credentials: add "cache" helper

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:32

Jeff King [off-list ref] writes:
quoted hunk
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 54ae1f4..ac54b38 100755
--- a/t/lib-credential.sh
+++ b/t/lib-credential.sh
@@ -21,6 +21,225 @@ read_chunk() {
...
+	test_expect_success "helper ($HELPER) can forget user" '
+		check reject $HELPER <<-\EOF &&
+		protocol=https
+		host=example.com
+		username=user1
+		EOF
+		check fill $HELPER <<-\EOF
+		protocol=https
+		host=example.com
+		username=user1
+		--
+		username=user1
+		password=askpass-password
+		--
+		askpass: Password for '\''https://user1@example.com'\'':
+	'
Missing EOF for here document; I fixed this already in 'pu', but please
squash it in when rerolling after 1.7.8 final.

Re: [PATCH 10/13] credentials: add "cache" helper

From: Jeff King <hidden>
Date: 2016-06-15 22:52:32

On Mon, Nov 28, 2011 at 04:42:00PM -0800, Junio C Hamano wrote:
quoted
+		askpass: Password for '\''https://user1@example.com'\'':
+	'
Missing EOF for here document; I fixed this already in 'pu', but please
squash it in when rerolling after 1.7.8 final.
Thanks, will do.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help