mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
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.
This commit is contained in:
committed by
Vicent Marti
parent
733c4f3aca
commit
a8b5f116bc
@@ -56,5 +56,6 @@
|
||||
#include "git2/message.h"
|
||||
#include "git2/pack.h"
|
||||
#include "git2/stash.h"
|
||||
#include "git2/pathspec.h"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user