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

Re: Git Log ignores --oneline and --pretty=oneline in combination with -L.

From
Emma Brooks <me@pluvano.com>
Date
Apr 28, 2020, 21:04 UTC
Message-ID
<20200428210404.GA24743@pluvano.com>
In-Reply-To
<DB8PR06MB6218D1398300AFD016D0B804D5AC0@DB8PR06MB6218.eurprd06.prod.outlook.com>
On 2020-04-28 14:28:15+0000, Nixon, Francis A wrote:
>  Running `git log --pretty=oneline -L:get_stack_map_frames:stackmapframes.rs`(filename/function names as an example only, consistent across many files.) results on in correct output but doesn't ouput in a oneline format(still includes the full diffs). 

-L implies --patch, which outputs a full diff. If you don't want that, add --no-patch to the command.

Previous: Nixon, Francis ANext: Jeff King
Message 2 of 3 in “Git Log ignores --oneline and --pretty=oneline in combination with -L.”
  1. Nixon, Francis AApr 28, 2020
  2. Emma BrooksApr 28, 2020
  3. Jeff KingApr 28, 2020

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.