summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <icq@gnome.org>2012-10-24 11:27:03 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2012-10-24 15:00:56 +0200
commit4bc252e4ecd281add17624fd507addd4f828cb00 (patch)
tree8986ca0307707d820d36b6fbb7cc6f25d3188bed
parent308581de9e1a65a094cf892b8d766ca6ff77dad9 (diff)
downloadlibgit2-4bc252e4ecd281add17624fd507addd4f828cb00.tar.gz
Fix example in comment
-rw-r--r--include/git2/ignore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/ignore.h b/include/git2/ignore.h
index 964a108ce..e18615edd 100644
--- a/include/git2/ignore.h
+++ b/include/git2/ignore.h
@@ -24,7 +24,7 @@ GIT_BEGIN_DECL
*
* Example usage:
*
- * error = git_ignore_add(myrepo, "*.c\ndir/\nFile with space\n");
+ * error = git_ignore_add_rule(myrepo, "*.c\ndir/\nFile with space\n");
*
* This would add three rules to the ignores.
*