X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=archive.c;h=edd68534fa847ad839fe8554e6864b39de4fcde0;hb=0ff4bdba32f2f372af8a738ff4e7beefc3c4bfe0;hp=d700af3b62f35091f9c628a5a2c0d8449e2fe439;hpb=4fd8145c0cb419a8b262115be8db9e18d63632db;p=git.git diff --git a/archive.c b/archive.c index d700af3b6..edd68534f 100644 --- a/archive.c +++ b/archive.c @@ -33,6 +33,7 @@ static void format_subst(const struct commit *commit, struct strbuf fmt = STRBUF_INIT; struct pretty_print_context ctx = {0}; ctx.date_mode = DATE_NORMAL; + ctx.abbrev = DEFAULT_ABBREV; if (src == buf->buf) to_free = strbuf_detach(buf, NULL);