diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-04-03 20:29:29 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-03 20:29:29 +0300 |
commit | d4a22303abbdcfb1ccc0c04c7bd6711444312751 (patch) | |
tree | 400e583a903d42cb66f2ab61fb83b93e8668d8d5 /builtin/index-pack.c | |
parent | 3b8c4b727f389e3470ec31b20e2a97496da36086 (diff) | |
parent | 0e94242df1ba11830c5443a55decaa041fa97710 (diff) |
Merge branch 'jc/maint-index-pack-keep'
"git index-pack --keep[=<msg>] pack-$name.pack" simply did not work.
* jc/maint-index-pack-keep:
index-pack: correct --keep[=<msg>]
Diffstat (limited to 'builtin/index-pack.c')
-rw-r--r-- | builtin/index-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c index 45245199ae..2f5cf71f44 100644 --- a/builtin/index-pack.c +++ b/builtin/index-pack.c @@ -1722,7 +1722,7 @@ int cmd_index_pack(int argc, const char **argv, const char *prefix) die(_("packfile name '%s' does not end with '.pack'"), pack_name); strbuf_add(&keep_name_buf, pack_name, len); - strbuf_addstr(&keep_name_buf, ".idx"); + strbuf_addstr(&keep_name_buf, ".keep"); keep_name = keep_name_buf.buf; } if (verify) { |