From: Harald Nordgren <haraldnordgren@gmail•com>
To: collin.funk1@gmail•com
Cc: git@vger•kernel.org, gitgitgadget@gmail•com, haraldnordgren@gmail•com
Subject: Re: [PATCH] diff: add --no-indicators option
Date: Fri, 19 Dec 2025 12:48:14 +0100 [thread overview]
Message-ID: <20251219114814.98846-1-haraldnordgren@gmail.com> (raw)
In-Reply-To: <87qzsqaly3.fsf@gmail.com>
Hi Collin!
Surely, "git diff --output-indicator-old=' ' --output-indicator-new=' '"
exists for a reason, to allow users to customize the workflow for
themselves. So this is adding a better short-hand instead of that, which
feels a bit clunky. Sed workaround would likely work, but nicer to have it
native inside git instead?
I use Git from the CLI 99.99% of the time, and find myself often copy-
pasting to recover some code from and old commit, so then this helps to
save me pasting in and the manually removing the +/- signs. Not a huge
deal, but makes the awesome Git CLI even better.
Harald
next prev parent reply other threads:[~2025-12-19 11:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 8:17 [PATCH] diff: add --no-indicators option Harald Nordgren via GitGitGadget
2025-12-19 8:57 ` Collin Funk
2025-12-19 11:48 ` Harald Nordgren [this message]
2025-12-19 13:28 ` Ben Knoble
2025-12-19 18:53 ` Harald Nordgren
2025-12-19 10:33 ` Phillip Wood
2025-12-19 11:46 ` Harald Nordgren
2025-12-19 14:27 ` Phillip Wood
2025-12-19 14:40 ` Chris Torek
2025-12-19 14:54 ` Harald Nordgren
2025-12-19 15:02 ` Chris Torek
2025-12-19 15:23 ` Harald Nordgren
2025-12-19 14:50 ` Harald Nordgren
2025-12-20 13:14 ` Johannes Sixt
2025-12-19 11:58 ` Junio C Hamano
2025-12-19 19:08 ` Harald Nordgren
2025-12-20 6:03 ` Junio C Hamano
2025-12-20 10:52 ` Harald Nordgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251219114814.98846-1-haraldnordgren@gmail.com \
--to=haraldnordgren@gmail$(echo .)com \
--cc=collin.funk1@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=gitgitgadget@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox