summaryrefslogtreecommitdiff
path: root/src/ignore.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-07-07 12:27:18 +0200
committerPatrick Steinhardt <ps@pks.im>2017-08-25 18:00:34 +0200
commit9bd836225ec606acdc9898cbf80c36dfcc0b564a (patch)
treec6d080e70c628f9f2678983106ac9dc171e4c1e0 /src/ignore.c
parent0a93ded1b931c0cd3476300a0794dc2f3e946356 (diff)
downloadlibgit2-9bd836225ec606acdc9898cbf80c36dfcc0b564a.tar.gz
ignore: fix indentation of comment block
Diffstat (limited to 'src/ignore.c')
-rw-r--r--src/ignore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ignore.c b/src/ignore.c
index 4c0d26dfd..283f5af01 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -125,12 +125,12 @@ static int does_negate_rule(int *out, git_vector *rules, git_attr_fnmatch *match
continue;
}
- /*
- * When dealing with a directory, we add '/<star>' so
- * p_fnmatch() honours FNM_PATHNAME. Checking for LEADINGDIR
- * alone isn't enough as that's also set for nagations, so we
- * need to check that NEGATIVE is off.
- */
+ /*
+ * When dealing with a directory, we add '/<star>' so
+ * p_fnmatch() honours FNM_PATHNAME. Checking for LEADINGDIR
+ * alone isn't enough as that's also set for nagations, so we
+ * need to check that NEGATIVE is off.
+ */
git_buf_clear(&buf);
if (rule->containing_dir) {
git_buf_puts(&buf, rule->containing_dir);