aboutsummaryrefslogtreecommitdiffstats
path: root/http-backend.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 /http-backend.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 'http-backend.c')
-rw-r--r--http-backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http-backend.c b/http-backend.c
index 807fb8839e..81a7229ece 100644
--- a/http-backend.c
+++ b/http-backend.c
@@ -13,6 +13,7 @@
#include "packfile.h"
#include "object-store.h"
#include "protocol.h"
+#include "date.h"
static const char content_type[] = "Content-Type";
static const char content_length[] = "Content-Length";