diff options
author | Calvin Wan <calvinwan@google.com> | 2023-07-05 19:09:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-05 20:41:18 +0200 |
commit | fda5d9595d5172fcbba34742e92d6c7ed4cbe5ef (patch) | |
tree | 74f7f415d88fe50b0de350ccfa554dae46cee305 /versioncmp.c | |
parent | The sixth batch (diff) | |
download | git-fda5d9595d5172fcbba34742e92d6c7ed4cbe5ef.tar.xz git-fda5d9595d5172fcbba34742e92d6c7ed4cbe5ef.zip |
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 'versioncmp.c')
-rw-r--r-- | versioncmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/versioncmp.c b/versioncmp.c index 74cc7c43f0..45e676cbca 100644 --- a/versioncmp.c +++ b/versioncmp.c @@ -1,5 +1,6 @@ #include "git-compat-util.h" #include "config.h" +#include "strbuf.h" #include "string-list.h" #include "versioncmp.h" |