summaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-03-03 21:16:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-03-03 21:16:45 (GMT)
commit13f0a6ddb94a16736000cb86f4cb39ed681e7c5d (patch)
tree305b4a1bf817f972838dfe26d41fbcccf15164e8 /builtin/index-pack.c
parentf02fbc4f9433937ee0463d0342d6d7d97e1f6f1e (diff)
parent0e94242df1ba11830c5443a55decaa041fa97710 (diff)
downloadgit-13f0a6ddb94a16736000cb86f4cb39ed681e7c5d.zip
git-13f0a6ddb94a16736000cb86f4cb39ed681e7c5d.tar.gz
git-13f0a6ddb94a16736000cb86f4cb39ed681e7c5d.tar.bz2
Merge branch 'jc/maint-index-pack-keep' into jc/index-pack
* jc/maint-index-pack-keep: index-pack: correct --keep[=<msg>]
Diffstat (limited to 'builtin/index-pack.c')
-rw-r--r--builtin/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 193908a..285424f 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -1721,7 +1721,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) {