Sort paths before diffing
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 13 Jan 2022 18:54:42 +0000 (13:54 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 13 Jan 2022 18:55:02 +0000 (13:55 -0500)
Makefile

index 7f3ef91..01156ae 100644 (file)
--- 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:
This page took 0.026466 seconds and 4 git commands to generate.