git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/1] Fix --stat width calculations to handle --graph

From
Lucian Poston <lucian.poston@gmail.com>
Date
Mar 22, 2012, 19:33 UTC
Message-ID
<CACz_eyfc+X8zUCBs+mfvWvPaCaki8ma8-wxeQ4QtsQC=d-Caag@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.1203201109370.3340@s15462909.onlinehome-server.info>
2012/3/20 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> Good. Just a quick question before everything else: are the commit
> messages cut off/wrapped to the same number of columns? If so, where do
> they get the indent from? (Sorry for asking, but I figured that you're
> already deep in the code so you might know of the top of your head.)

Thanks for reviewing the patch! The commit part of git log is handled in log-tree.c:show_log().

> My 1st reaction was: why is the current indent width not stored in the options?
The new patch adds a output_prefix_length field to struct diff_options.

Thanks! Lucian

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “Adjust diff stat width calculations so lines do not wrap in terminal when using --graph”
  1. 0/1 Adjust diff stat width calculations so lines do not wrap in terminal when using --graphLucian Poston, Mar 20, 2012
  2. 1/1 Fix --stat width calculations to handle --graphLucian Poston, Mar 20, 2012
  3. Johannes SchindelinMar 20, 2012
  4. Junio C HamanoMar 20, 2012
  5. Lucian PostonMar 22, 2012
  6. Junio C HamanoMar 20, 2012
  7. Lucian PostonMar 22, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.