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

Re: git log -p file.c

From
Ssf <sf@b-i-t.de>
Date
Jun 14, 2007, 10:15 UTC
Message-ID
<46711555.5060106@b-i-t.de>
In-Reply-To
<20070614090217.GA8271@informatik.uni-freiburg.de>
Uwe Kleine-Koenig wrote:
Show 9 quoted lines
> hello,
> 
> when I run
> 
> 	git log -p file.c
> 
> I don't get the complete change a commit introduces but only how file.c
> changed.  This is kind of surprising for me, I had expected to get the
> whole diff.
git log --full-diff -p file.c
(--full-diff seems to be undocumented)
Regards
Stephan
Previous: Uwe Kleine-KoenigNext: Jakub Narebski
Message 2 of 4 in “git log -p file.c”
  1. Uwe Kleine-KoenigJun 14, 2007
  2. sfJun 14, 2007
  3. Jakub NarebskiJun 14, 2007
  4. Linus TorvaldsJun 14, 2007

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.