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

Re: inconsistent logs when displayed on screen / piped to a file

From
Carlos Martín Nieto <cmn@elego.de>
Date
Jul 30, 2012, 13:50 UTC
Message-ID
<1343656217.3970.5.camel@centaur.cmartin.tk>
In-Reply-To
<50168E93.2090202@drmicha.warpmail.net>
On Mon, 2012-07-30 at 15:39 +0200, Michael J Gruber wrote:
Show 7 quoted lines
> a) probes your terminal for the number of columns and uses all available
> space.
> 
> b) goes to a file and has no connected terminal, thus uses a default
> column number. You can change that number using
> 
> COLUMNS=YourNumber git log YourArgs > YourFile

You can also pass a width to --stat. See the git log manpage for details about which widths you can override.

   cmn
Previous: Michael J GruberNext: Mojca Miklavec
Message 3 of 5 in “inconsistent logs when displayed on screen / piped to a file”
  1. Mojca MiklavecJul 30, 2012
  2. Michael J GruberJul 30, 2012
  3. Carlos Martín NietoJul 30, 2012
  4. Mojca MiklavecJul 30, 2012
  5. Jan EngelhardtJul 31, 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.