From 73c0dfd5b666ad46d4ddce7e21ae8380fc305e79 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 13 Jan 2022 13:54:42 -0500 Subject: [PATCH] Sort paths before diffing --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7f3ef91..01156ae 100644 --- a/Makefile +++ b/Makefile @@ -158,6 +158,7 @@ $(foreach d,$(DEPS),$(eval $(call GEN_DEP_RULE,$(d)))) diff: find home -type f -print0 \ | $(SED) -z 's/^home\///g' \ + | sort -zr \ | xargs -0 -I% sh -c 'echo %; $(DIFF) --color=auto ~/% home/%' pull: -- 2.20.1