aboutsummaryrefslogtreecommitdiffstats
path: root/strbuf.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-02-25 15:47:36 -0800
committerJunio C Hamano <gitster@pobox.com>2022-02-25 15:47:36 -0800
commit0a01df08c03fe707e22795de7bd1d763ed02e9e1 (patch)
treeb9ff98081b5cacb5106d303d21378cc5aeb99278 /strbuf.c
parentMerge branch 'jc/name-rev-stdin' (diff)
parentdate API: add and use a date_mode_release() (diff)
downloadgit-0a01df08c03fe707e22795de7bd1d763ed02e9e1.tar.gz
git-0a01df08c03fe707e22795de7bd1d763ed02e9e1.zip
Merge branch 'ab/date-mode-release'
Plug (some) memory leaks around parse_date_format(). * ab/date-mode-release: date API: add and use a date_mode_release() date API: add basic API docs date API: provide and use a DATE_MODE_INIT date API: create a date.h, split from cache.h cache.h: remove always unused show_date_human() declaration
Diffstat (limited to 'strbuf.c')
-rw-r--r--strbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/strbuf.c b/strbuf.c
index 613fee8c82..00abeb55af 100644
--- a/strbuf.c
+++ b/strbuf.c
@@ -2,6 +2,7 @@
#include "refs.h"
#include "string-list.h"
#include "utf8.h"
+#include "date.h"
int starts_with(const char *str, const char *prefix)
{