diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-03 03:09:40 +0400 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-03 03:09:40 +0400 |
commit | ce49c7a8a902bd3a74a59a356dd11886e83d2e92 (patch) | |
tree | e336ef425b5bda0e7c05acfbcf51fabb758ca662 /src/buffer.h | |
parent | d377fe80b1396b82f8af7bfcd76f869410865001 (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.h | 2 |
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 |