From: Ben Knoble Date: Fri, 19 Dec 2025 13:28:48 GMT Subject: Re: [PATCH] diff: add --no-indicators option Message-ID: <7B631B32-22B7-443C-8D1A-D05FF93F55C2@gmail.com> In-Reply-To: <20251219114814.98846-1-haraldnordgren@gmail.com> > Le 19 déc. 2025 à 07:27, Harald Nordgren a écrit : > > 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 I wondered why you’d be copying diffs without leading indicators; with that answered, perhaps you should try “git restore”? One benefit of version control is easily restoring other versions.