Commit 4bc252e4ecd281add17624fd507addd4f828cb00

Ignacio Casal Quinteiro 2012-10-24T11:27:03

Fix example in comment

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/ignore.h b/include/git2/ignore.h
index 964a108..e18615e 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.
  *