diff options
| author | Russell Belfer <rb@github.com> | 2012-05-15 16:33:05 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2012-05-15 16:33:05 -0700 |
| commit | 2c8339172878cd935eee0d9eb6db747cebd70a72 (patch) | |
| tree | c5499b848395ad1a2efddeb092d6c00e8421f226 /src/buffer.h | |
| parent | 58ffeb9cde4091a714322157836954eb45129fad (diff) | |
| download | libgit2-2c8339172878cd935eee0d9eb6db747cebd70a72.tar.gz | |
Document git_buf_common_prefix
This function fills in a git_buf with the common prefix of
an array of strings, but let's make that a little more clear.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 5a0e7d7b2..af760f901 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -122,6 +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 |
