diff options
author | Calvin Wan <calvinwan@google.com> | 2023-07-05 20:09:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-05 21:41:18 +0300 |
commit | fda5d9595d5172fcbba34742e92d6c7ed4cbe5ef (patch) | |
tree | 74f7f415d88fe50b0de350ccfa554dae46cee305 /builtin/symbolic-ref.c | |
parent | 9748a6820043d5815bee770ffa51647e0adc2cf0 (diff) |
git-compat-util: move strbuf.c funcs to its header
While functions like starts_with() probably should not belong in the
boundaries of the strbuf library, this commit focuses on first splitting
out headers from git-compat-util.h.
Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/symbolic-ref.c')
-rw-r--r-- | builtin/symbolic-ref.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/symbolic-ref.c b/builtin/symbolic-ref.c index a61fa3c0f8..c9defe4d2e 100644 --- a/builtin/symbolic-ref.c +++ b/builtin/symbolic-ref.c @@ -3,6 +3,7 @@ #include "gettext.h" #include "refs.h" #include "parse-options.h" +#include "strbuf.h" static const char * const git_symbolic_ref_usage[] = { N_("git symbolic-ref [-m <reason>] <name> <ref>"), |