summaryrefslogtreecommitdiff
path: root/contrib/credential/netrc/test.netrc
diff options
context:
space:
mode:
authorTed Zlatanov <tzz@lifelogs.com>2013-02-25 10:49:15 -0500
committerJunio C Hamano <gitster@pobox.com>2013-02-25 13:46:14 -0800
commit5482920919f5ff14b1e4b01cf81eab17c32c2734 (patch)
tree790296b107df7bd1f152531cb2bafc3570fda788 /contrib/credential/netrc/test.netrc
parent5d417842efeafb6e109db7574196901c4e95d273 (diff)
downloadgit-5482920919f5ff14b1e4b01cf81eab17c32c2734.tar.gz
Add contrib/credentials/netrc with GPG support
This credential helper supports multiple files, returning the first one that matches. It checks file permissions and owner. For *.gpg files, it will run GPG to decrypt the file. Signed-off-by: Ted Zlatanov <tzz@lifelogs.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/netrc/test.netrc')
-rw-r--r--contrib/credential/netrc/test.netrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/credential/netrc/test.netrc b/contrib/credential/netrc/test.netrc
new file mode 100644
index 0000000000..ba119a937f
--- /dev/null
+++ b/contrib/credential/netrc/test.netrc
@@ -0,0 +1,13 @@
+machine imap login tzz@lifelogs.com port imaps password letmeknow
+machine imap login bob port imaps password bobwillknow
+
+# comment test
+
+machine imap2 login tzz port 1099 password tzzknow
+machine imap2 login bob password bobwillknow
+
+# another command
+
+machine github.com
+ multilinetoken anothervalue
+ login carol password carolknows