summaryrefslogtreecommitdiffstats
path: root/refs.c
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2026-04-04 11:53:49 +0800
committerJiang Xin <worldhello.net@gmail.com>2026-04-04 11:57:24 +0800
commitfc2a6741f71c71ddc7e1cc71c8f6289fcda2ff2d (patch)
treebaec3af2039bd59c01e049f3bd9e10e233d44a1d /refs.c
parent82747b07cc0f7d6fd8237633c1eb533050efba3d (diff)
parent8de2f1b07a8053d7f1aad70dc1131d6afcf5a28a (diff)
downloadgit-fc2a6741f71c71ddc7e1cc71c8f6289fcda2ff2d.tar.gz
git-fc2a6741f71c71ddc7e1cc71c8f6289fcda2ff2d.zip
Merge branch 'master' of https://github.com/git/git
Upstream adds 18 new translatable messages. * 'master' of https://github.com/git/git: (41 commits) A bit more on top of 2.54-rc0 ... Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index 685a0c247b..5d1d28523d 100644
--- a/refs.c
+++ b/refs.c
@@ -2595,7 +2595,8 @@ static int transaction_hook_feed_stdin(int hook_stdin_fd, void *pp_cb, void *pp_
static void *transaction_feed_cb_data_alloc(void *feed_pipe_ctx UNUSED)
{
- struct transaction_feed_cb_data *data = xmalloc(sizeof(*data));
+ struct transaction_feed_cb_data *data;
+ CALLOC_ARRAY(data, 1);
strbuf_init(&data->buf, 0);
data->index = 0;
return data;