summaryrefslogtreecommitdiff
path: root/src/hash
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-23 17:34:41 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-08 23:46:39 +0100
commit799e22ea0c3f20f1900011573a10053dc3ea9138 (patch)
tree43af7e21e2872ee3b83a1478ceb75b068b100a1c /src/hash
parent4865cc3f0631a8a4e0e1de897865df0e552c70cb (diff)
downloadlibgit2-799e22ea0c3f20f1900011573a10053dc3ea9138.tar.gz
Rename git_threads_ to git_libgit2_
This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now.
Diffstat (limited to 'src/hash')
-rw-r--r--src/hash/hash_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/hash_win32.c b/src/hash/hash_win32.c
index bb2231364..6bae53e55 100644
--- a/src/hash/hash_win32.c
+++ b/src/hash/hash_win32.c
@@ -236,7 +236,7 @@ int git_hash_ctx_init(git_hash_ctx *ctx)
/*
* When compiled with GIT_THREADS, the global hash_prov data is
- * initialized with git_threads_init. Otherwise, it must be initialized
+ * initialized with git_libgit2_init. Otherwise, it must be initialized
* at first use.
*/
if (hash_prov.type == INVALID && (error = git_hash_global_init()) < 0)