You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+5
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
# 0.6.0 (03/03/2019)
2
+
3
+
- Augments the authenticate function declaration to accept an object as the first argument and a callback for the second. This allows us to make changes without having to cause breaking changes.
4
+
- Adds the ability to introspect on the header (fixes #49)
Copy file name to clipboardexpand all lines: docs/code/Git.html
+75-6
Original file line number
Diff line number
Diff line change
@@ -271,13 +271,13 @@ <h6>Properties</h6>
271
271
272
272
273
273
274
-
<tdclass="description last"><p>a function that has the following arguments (repo, username, password, next) and will be called when a request comes through if set</p>
<tdclass="description last"><p>a function that has the following arguments ({ type, repo, username, password, headers }, next) and will be called when a request comes through if set</p>
* @param {Object} options - options that can be applied on the new instance being created
158
158
* @param {Boolean=} options.autoCreate - By default, repository targets will be created if they don't exist. You can
159
159
disable that behavior with `options.autoCreate = true`
160
-
* @param {Function} options.authenticate - a function that has the following arguments (repo, username, password, next) and will be called when a request comes through if set
160
+
* @param {Function} options.authenticate - a function that has the following arguments ({ type, repo, username, password, headers }, next) and will be called when a request comes through if set
<p>When running https with self-signed certs there are two ways to override the git-clients behavior using <code>git config http.sslVerify false</code> or <code>git config --global http.sslCAInfo /path/to/cert.pem</code></p>
0 commit comments