Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-04 04:00:50 +0400
committerVicent Marti <tanoku@gmail.com>2013-07-10 22:50:32 +0400
commita8b5f116bc39f884c8888adae2fd3f9b96d972c0 (patch)
tree698a9df61ec2853dcb52e8bbc393d09a5c46a00c /include/git2.h
parent733c4f3aca212d90459fb21cfbc137f09ff6c951 (diff)
Fix example/log.c pathspec handling of merges
This fixes the way the example log program decides if a merge commit should be shown when a pathspec is given. Also makes it easier to use the pathspec API to just check "does a tree match anything in the pathspec" without allocating a match list.
Diffstat (limited to 'include/git2.h')
-rw-r--r--include/git2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2.h b/include/git2.h
index 5f9fc4824..e8638a830 100644
--- a/include/git2.h
+++ b/include/git2.h
@@ -56,5 +56,6 @@
#include "git2/message.h"
#include "git2/pack.h"
#include "git2/stash.h"
+#include "git2/pathspec.h"
#endif