From 9fb661d91ea725d81647c0c625d0d29b693d07e9 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 15 Dec 2020 11:14:56 -0600 Subject: [PATCH] Use patience algorithm for diffs This should prevent us from generating different diffs and adding noise to our PRs. Patience seems like a good one; it generated a diff that I felt was easier to read in the case of the yarn.lock optionator section. --- ci/dev/diff-vscode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/dev/diff-vscode.sh b/ci/dev/diff-vscode.sh index 38f7cb56..99a643cf 100755 --- a/ci/dev/diff-vscode.sh +++ b/ci/dev/diff-vscode.sh @@ -6,7 +6,7 @@ main() { cd ./lib/vscode git add -A - git diff HEAD --full-index > ../../ci/dev/vscode.patch + git diff HEAD --patience --full-index > ../../ci/dev/vscode.patch } main "$@"