summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-16 09:57:45 -0700
committerVicent Martí <tanoku@gmail.com>2012-05-16 09:57:45 -0700
commitc261c272af7fa26af36bca71e56b0342631b3eea (patch)
tree4b4e6efe8871844b40c8c4ec82321ada515f594d /src/buffer.h
parentb206d74ccaca2bca33e5db85fb6c1e4b8fc54541 (diff)
parent2c8339172878cd935eee0d9eb6db747cebd70a72 (diff)
downloadlibgit2-c261c272af7fa26af36bca71e56b0342631b3eea.tar.gz
Merge pull request #702 from arrbee/fix-status-file
Update git_status_file and add ranged iterators
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 1f0ec1c15..af760f901 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -122,4 +122,7 @@ void git_buf_rtrim(git_buf *buf);
int git_buf_cmp(const git_buf *a, const git_buf *b);
+/* Fill buf with the common prefix of a array of strings */
+int git_buf_common_prefix(git_buf *buf, const git_strarray *strings);
+
#endif