diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-05-10 23:04:59 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-05-11 01:29:22 +0100 |
commit | d525e063ba4e478cc4afac4cdf60f7acd989dbf2 (patch) | |
tree | 40cad165fb5324ae430ebccdf7a1cc7de6687472 /src/ident.c | |
parent | 4bd172087c30e09e7720a7df11cace47ee002256 (diff) | |
download | libgit2-d525e063ba4e478cc4afac4cdf60f7acd989dbf2.tar.gz |
buf: remove internal `git_buf_text` namespace
The `git_buf_text` namespace is unnecessary and strange. Remove it,
just keep the functions prefixed with `git_buf`.
Diffstat (limited to 'src/ident.c')
-rw-r--r-- | src/ident.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ident.c b/src/ident.c index 7eccf9a43..ae3ef1b45 100644 --- a/src/ident.c +++ b/src/ident.c @@ -10,7 +10,6 @@ #include "git2/sys/filter.h" #include "filter.h" #include "buffer.h" -#include "buf_text.h" static int ident_find_id( const char **id_start, const char **id_end, const char *start, size_t len) @@ -105,7 +104,7 @@ static int ident_apply( GIT_UNUSED(self); GIT_UNUSED(payload); /* Don't filter binary files */ - if (git_buf_text_is_binary(from)) + if (git_buf_is_binary(from)) return GIT_PASSTHROUGH; if (git_filter_source_mode(src) == GIT_FILTER_SMUDGE) |