Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
api-credential.txt: document that helpers field is filled-in automatically
author
Matthieu Moy
<Matthieu.Moy@imag.fr>
Mon, 11 Jun 2012 17:51:47 +0000
(19:51 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 12 Jun 2012 14:48:40 +0000
(07:48 -0700)
It was unclear whether the field was to be specified by the user of the
API.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-credentials.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
fe77b41
)
diff --git
a/Documentation/technical/api-credentials.txt
b/Documentation/technical/api-credentials.txt
index 4ef1db39abcb5d5980a803e0d615fef590132f81..adb6f0c8962377b3dc04fcdc948e40bfbd132a1b 100644
(file)
--- a/
Documentation/technical/api-credentials.txt
+++ b/
Documentation/technical/api-credentials.txt
@@
-65,7
+65,10
@@
Data Structures
The `helpers` member of the struct is a `string_list` of helpers. Each
string specifies an external helper which will be run, in order, to
either acquire or store credentials. See the section on credential
The `helpers` member of the struct is a `string_list` of helpers. Each
string specifies an external helper which will be run, in order, to
either acquire or store credentials. See the section on credential
-helpers below.
+helpers below. This list is filled-in by the API functions
+according to the corresponding configuration variables before
+consulting helpers, so there usually is no need for a caller to
+modify the helpers field at all.
+
This struct should always be initialized with `CREDENTIAL_INIT` or
`credential_init`.
+
This struct should always be initialized with `CREDENTIAL_INIT` or
`credential_init`.