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

RE: git-log diff formatting options: some turn on diffs, some don't

From
EAEd Avis <eda@waniasset.com>
Date
Nov 25, 2019, 10:46 UTC
Message-ID
<cbfdbe62ad394abe9222c6e4d7875651@WCL-EX13MBX-DR.wcl.local>
In-Reply-To
<xmqq1rtz2v99.fsf@gitster-ct.c.googlers.com>

Thanks for your reply. If the -r flag has no effect on 'git log' then shouldn't it be omitted from the documentation? https://git-scm.com/docs/git-log has a section on 'Diff Formatting' but if I understand you rightly, a large part of that only applies to other commands.

Further, I would suggest that if the -r flag does get passed to 'git log' then it should give a warning. (Ideally I would say an error, but there might be existing scripts that pass it.)

To learn how we protect privacy, please use this link (https://www.qma.com/gdpr.html) to read our Privacy Notice.
This email and any files transmitted with it are CONFIDENTIAL and are intended solely for the use of the individual(s) or entity to whom they are addressed. Any unauthorised copying, disclosure or distribution of the material within this email is strictly forbidden. Any views or opinions presented within this email are solely those of the author and do not necessarily represent those of QMA Wadhwani (QMAW) unless otherwise specifically stated. An electronic message is not binding on its sender. Any message referring to a binding agreement must be confirmed in writing and duly signed. If you have received this email in error, please notify the sender immediately and delete the original. Telephone, electronic and other communications and conversations with QMAW and/or its associated persons may be recorded and retained.
Please note that your personal information may be stored and processed in any country where we have facilities or in which we engage service providers. If you provide personal information to us by email or otherwise, you consent to the transfer of that information to countries outside of your country of residence and these countries may have different data protection rules than your country.
Previous: Junio C Hamano
Message 3 of 3 in “git-log diff formatting options: some turn on diffs, some don't”
  1. Ed AvisNov 22, 2019
  2. Junio C HamanoNov 23, 2019
  3. Ed AvisNov 25, 2019

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.