summary refs log tree commit diff
path: root/commit-reach.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2018-08-28 14:36:57 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-28 20:54:28 -0700
commit6621c838743812aaba96e55cfec8524ea1144c2d (patch)
treec3401c2803f8c5581729109e7a2d3d40fe292b50 /commit-reach.c
parent6cc017431c1c48f80d1c6512fdcc9866cf4b7f55 (diff)
commit-reach: correct accidental #include of C file
Without this change, the build breaks with clang:

 libgit/ref-filter.pic.o: multiple definition of 'filter_refs'
 libgit/commit-reach.pic.o: previous definition here

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
-rw-r--r--commit-reach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-reach.c b/commit-reach.c
index c996524032..86715c103c 100644
--- a/commit-reach.c
+++ b/commit-reach.c
@@ -4,7 +4,7 @@
 #include "decorate.h"
 #include "prio-queue.h"
 #include "tree.h"
-#include "ref-filter.c"
+#include "ref-filter.h"
 #include "revision.h"
 #include "tag.h"
 #include "commit-reach.h"