diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:15:05 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:15:05 +0900 |
commit | 919cec9979a865f8169eaa30e5ff6de8e4fe5565 (patch) | |
tree | 0d8aca1d417e0462dae1a587077a93d6f44386a0 /builtin/update-index.c | |
parent | 614a0a207999f413206bf547e3c603ac015554b0 (diff) | |
download | git-919cec9979a865f8169eaa30e5ff6de8e4fe5565.tar.gz git-919cec9979a865f8169eaa30e5ff6de8e4fe5565.tar.bz2 git-919cec9979a865f8169eaa30e5ff6de8e4fe5565.zip |
Imported Upstream version 2.4.0upstream/2.4.0
Diffstat (limited to 'builtin/update-index.c')
-rw-r--r-- | builtin/update-index.c | 3 |
1 files changed, 2 insertions, 1 deletions
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] [--] [<file>...]"), + N_("git update-index [<options>] [--] [<file>...]"), 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; } |