From 919cec9979a865f8169eaa30e5ff6de8e4fe5565 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 3 Mar 2021 15:15:05 +0900 Subject: Imported Upstream version 2.4.0 --- builtin/update-index.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'builtin/update-index.c') diff --git a/builtin/update-index.c b/builtin/update-index.c index b0e3dc91..6271b54a 100644 --- a/builtin/update-index.c +++ b/builtin/update-index.c @@ -400,7 +400,7 @@ static void read_index_info(int line_termination) } static const char * const update_index_usage[] = { - N_("git update-index [options] [--] [...]"), + N_("git update-index [] [--] [...]"), NULL }; @@ -584,6 +584,7 @@ static int do_reupdate(int ac, const char **av, path = xstrdup(ce->name); update_one(path); free(path); + free(old); if (save_nr != active_nr) goto redo; } -- cgit v1.2.3