From 9877ab36f3db376876db0a966085cf278613e0bb Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Wed, 25 Feb 2026 15:55:49 +0100 Subject: [PATCH] feat: use upstream settings for diff This way the diffs are more readable --- diff/report.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/diff/report.go b/diff/report.go index c2d4b2cf..96508aec 100644 --- a/diff/report.go +++ b/diff/report.go @@ -110,7 +110,12 @@ func printDyffReport(r *Report, to io.Writer) { currentInputFile, newInputFile, _ := ytbx.LoadFiles(currentFile.Name(), newFile.Name()) - report, _ := dyff.CompareInputFiles(currentInputFile, newInputFile) + report, _ := dyff.CompareInputFiles( + currentInputFile, newInputFile, + dyff.IgnoreWhitespaceChanges(true), + dyff.KubernetesEntityDetection(true), + dyff.DetectRenames(true), + ) reportWriter := &dyff.HumanReport{ Report: report, OmitHeader: true,