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 <arrbee@arrbee.com>2012-03-03 03:09:40 +0400
committerRussell Belfer <arrbee@arrbee.com>2012-03-03 03:09:40 +0400
commitce49c7a8a902bd3a74a59a356dd11886e83d2e92 (patch)
treee336ef425b5bda0e7c05acfbcf51fabb758ca662 /src/buffer.h
parentd377fe80b1396b82f8af7bfcd76f869410865001 (diff)
Add filter tests and fix some bugs
This adds some initial unit tests for file filtering and fixes some simple bugs in filter application.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 3e9cb1713..3cdd794af 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -118,4 +118,6 @@ GIT_INLINE(int) git_buf_rfind_next(git_buf *buf, char ch)
/* Remove whitespace from the end of the buffer */
void git_buf_rtrim(git_buf *buf);
+int git_buf_cmp(const git_buf *a, const git_buf *b);
+
#endif