diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:12 -0700 |
commit | f2140c3890780301760ee290f21be01f61726221 (patch) | |
tree | fe441f41a0fa1c572c3f672fb2abdac32c61966a /commit.h | |
parent | Merge branch 'jk/repack-keep-unreachable' (diff) | |
parent | pretty.c: support <direction>|(<negative number>) forms (diff) | |
download | tgif-f2140c3890780301760ee290f21be01f61726221.tar.xz |
Merge branch 'nd/graph-width-padded'
"log --graph --format=" learned that "%>|(N)" specifies the width
relative to the terminal's left edge, not relative to the area to
draw text that is to the right of the ancestry-graph section. It
also now accepts negative N that means the column limit is relative
to the right border.
* nd/graph-width-padded:
pretty.c: support <direction>|(<negative number>) forms
pretty: pass graph width to pretty formatting for use in '%>|(N)'
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -167,6 +167,7 @@ struct pretty_print_context { * should not be counted on by callers. */ struct string_list in_body_headers; + int graph_width; }; struct userformat_want { |