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

Context diffs

From
PEPeter Eisentraut <peter_e@gmx.net>
Date
Apr 20, 2008, 20:52 UTC
Message-ID
<200804202252.10394.peter_e@gmx.net>

Would it be possible to support context diffs (like diff -c) in git-diff? In many cases these are easier to interpret than the unified diff format.

I know I can do this via an external diff wrapper, but it'd be nicer if this were built in, considering that it is a very common format.

Message 1 of 1 in “Context diffs”
  1. Peter EisentrautApr 20, 2008

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.