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

Re: Diffs "from" working directory

From
CLChuck Lever <cel@citi.umich.edu>
Date
Nov 21, 2005, 01:53 UTC
Message-ID
<4381287F.5080402@citi.umich.edu>
In-Reply-To
<20051120205855.GA30346@fieldses.org>
J. Bruce Fields wrote:
Show 15 quoted lines
> On Sun, Nov 20, 2005 at 10:13:32AM -0800, Linus Torvalds wrote:
> 
>>On Sun, 20 Nov 2005, J. Bruce Fields wrote:
>>
>>>That's a diff *to* the working directory.  My complaint was that there
>>>wasn't a convenient way to get a diff *from* the working directory.
>>
>>Something like
>>
>>	git diff -R -M -p
>>
>>should do it, no?
> 
> 
> A "-R" option to "stg diff" would be convenient, sure.--b.
that might be an even more intuitive way to dig out what is wanted.

btw, catalin, this was bruce's patch. i'm not sure why i was listed as the author (probably a mistake of mine when i imported his patch into my repository). ah well.

begin:vcard fn:Chuck Lever n:Lever;Charles org:Network Appliance, Incorporated;Linux NFS Client Development adr:535 West William Street, Suite 3100;;Center for Information Technology Integration;Ann Arbor;MI;48103-4943;USA email;internet:cel@citi.umich.edu title:Member of Technical Staff tel;work:+1 734 763-4415 tel;fax:+1 734 763 4434 tel;home:+1 734 668-1089 x-mozilla-html:FALSE url:http://www.monkey.org/~cel/ version:2.1 end:vcard

Previous: J. Bruce FieldsNext: Catalin Marinas
Message 4 of 12 in “Re: Diffs "from" working directory”
  1. J. Bruce FieldsNov 20, 2005
  2. Linus TorvaldsNov 20, 2005
  3. J. Bruce FieldsNov 20, 2005
  4. Chuck LeverNov 21, 2005
  5. Catalin MarinasNov 21, 2005
  6. Junio C HamanoNov 21, 2005
  7. Catalin MarinasNov 21, 2005
  8. Chuck LeverNov 22, 2005
  9. Linus TorvaldsNov 22, 2005
  10. Chuck LeverNov 22, 2005
  11. Linus TorvaldsNov 22, 2005
  12. Catalin MarinasNov 22, 2005

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.