git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git diff --functional-changes ?
@ 2022-08-19 16:10 Christian Heller
  2022-08-22 15:53 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Heller @ 2022-08-19 16:10 UTC (permalink / raw)
  To: git

Feature request

I recently ran GNU indent on a larger C project which made all diffs
horribly noisy.
Is there an option for git diff to ignore changes due to the placement
of curly braces '{', '}' ?
Equally helpful would be an option to ignore changes to comments.

Something like:
- delete all comments
- re-normalize line-breaks and indentation
- show only 'functional' changes

Regards,
Chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-22 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-19 16:10 git diff --functional-changes ? Christian Heller
2022-08-22 15:53 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).