summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-09-22 13:46:39 -0700
committerVicent Martí <vicent@github.com>2013-09-22 13:46:39 -0700
commit10edb7a92a6d9b886f3dea083dba0aaba1851200 (patch)
tree3ea924c42ee333db1cb81b48e05a093574b74993
parent07fb67f90e79ecf35672008fed262a7db41d9790 (diff)
parent1b57699a3a6245bce3b98f73286b7a904c4bbd66 (diff)
downloadlibgit2-10edb7a92a6d9b886f3dea083dba0aaba1851200.tar.gz
Merge pull request #1863 from linquize/typo
Fix typo in documentation
-rw-r--r--include/git2/common.h2
-rw-r--r--src/posix.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index bb2e63637..dca0c9c21 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -212,7 +212,7 @@ typedef enum {
* > Get the current bytes in cache and the maximum that would be
* > allowed in the cache.
*
- * * opts(GIT_OPT_GET_SEARCH_PATH, char *out, size_t len)
+ * * opts(GIT_OPT_GET_TEMPLATE_PATH, char *out, size_t len)
*
* > Get the default template path.
* > The path is written to the `out`
diff --git a/src/posix.h b/src/posix.h
index de2aa0b73..14c92b93d 100644
--- a/src/posix.h
+++ b/src/posix.h
@@ -39,7 +39,7 @@ typedef int git_file;
*
* Some of the methods are slightly wrapped to provide
* saner defaults. Some of these methods are emulated
- * in Windows platforns.
+ * in Windows platforms.
*
* Use your manpages to check the docs on these.
*/