summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-05 17:02:03 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-11 20:40:13 +0200
commit8aedf1d5581f518da286ca4a33d6f7a98db38651 (patch)
tree8050511a6796bd7d240f2876ff546abd021cba8a /include
parent118cf57d426ede29b6695204e707810bbe3888ef (diff)
downloadlibgit2-8aedf1d5581f518da286ca4a33d6f7a98db38651.tar.gz
signature: prevent angle bracket usage in identity
Diffstat (limited to 'include')
-rw-r--r--include/git2/signature.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/signature.h b/include/git2/signature.h
index cbf94269f..cdbe67879 100644
--- a/include/git2/signature.h
+++ b/include/git2/signature.h
@@ -23,6 +23,9 @@ GIT_BEGIN_DECL
* Create a new action signature. The signature must be freed
* manually or using git_signature_free
*
+ * Note: angle brackets ('<' and '>') characters are not allowed
+ * to be used in either the `name` or the `email` parameter.
+ *
* @param sig_out new signature, in case of error NULL
* @param name name of the person
* @param email email of the person