summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2018-08-28 21:36:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-29 03:54:28 (GMT)
commit6621c838743812aaba96e55cfec8524ea1144c2d (patch)
treec3401c2803f8c5581729109e7a2d3d40fe292b50
parent6cc017431c1c48f80d1c6512fdcc9866cf4b7f55 (diff)
downloadgit-6621c838743812aaba96e55cfec8524ea1144c2d.zip
git-6621c838743812aaba96e55cfec8524ea1144c2d.tar.gz
git-6621c838743812aaba96e55cfec8524ea1144c2d.tar.bz2
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>
-rw-r--r--commit-reach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-reach.c b/commit-reach.c
index c996524..86715c1 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"