From 4bc252e4ecd281add17624fd507addd4f828cb00 Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro Date: Wed, 24 Oct 2012 11:27:03 +0200 Subject: [PATCH] Fix example in comment --- include/git2/ignore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. *