From: Siraaj Khandkar Date: Thu, 13 Jan 2022 18:54:42 +0000 (-0500) Subject: Sort paths before diffing X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=73c0dfd5b666ad46d4ddce7e21ae8380fc305e79;p=khome.git Sort paths before diffing --- 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: