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

Re: [PATCH/RFC resend] diff-options: make --patch a synonym for -p

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
May 13, 2010, 11:39 UTC
Message-ID
<vpqzl04ghdv.fsf@bauges.imag.fr>
In-Reply-To
<1273741140.2516.15.camel@wpalmer.simply-domain>
Will Palmer <wmpalmer@gmail.com> writes:
Show 5 quoted lines
> Re-sending, as this seems to have slipped under the radar last time.
> In case a justification is non-obvious: -p has always meant "patch", and the
> synonym (-u) has a long-form. I always find myself typing out the long-form
> --patch, only to be surprised that it doesn't exist. This patch seeks to
> correct what I can only assume was an oversight.

Agreed. I'll still type -p, but explaining to newbies "git log --patch" is self-explanatory, while "git log -p" is non-obvious, especially when it's different from "git -p log"...

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Will PalmerNext: Jeff King
Message 2 of 3 in “diff-options: make --patch a synonym for -p”
  1. diff-options: make --patch a synonym for -pWill Palmer, May 13, 2010
  2. Matthieu MoyMay 13, 2010
  3. Jeff KingMay 13, 2010

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.