diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-20 12:53:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-20 12:53:09 -0700 |
commit | 316fa401e1c953ffc80533aaf6839817595cdd77 (patch) | |
tree | 6ad48c40abadde6c9c7d44a9d03246da65f94f25 /archive.c | |
parent | Merge branch 'vs/doc-spell' into maint (diff) | |
parent | examples/commit: use --abbrev for commit summary (diff) | |
download | tgif-316fa401e1c953ffc80533aaf6839817595cdd77.tar.xz |
Merge branch 'jn/fix-abbrev' into maint
* jn/fix-abbrev:
examples/commit: use --abbrev for commit summary
checkout, commit: remove confusing assignments to rev.abbrev
archive: abbreviate substituted commit ids again
Diffstat (limited to 'archive.c')
-rw-r--r-- | archive.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |