From fc7ac1342411ad10f76629616c9d67ea12ea503e Mon Sep 17 00:00:00 2001 From: W Trevor King Date: Wed, 30 Nov 2011 10:34:37 -0500 Subject: [PATCH] Fix 'diff --remove' invocation inside 'diff --local-patch'. --- dotfiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles.sh b/dotfiles.sh index e637bf0..d9a6876 100755 --- a/dotfiles.sh +++ b/dotfiles.sh @@ -379,7 +379,7 @@ function diff() exec 3<&1 # save stdout to file descriptor 3 echo "save local removed to ${REPO}/local-patch/000-local.remove" exec 1>"${REPO}/local-patch/000-local.remove" # redirect stdout - diff "${REPO}" --removed + diff --removed "${REPO}" exec 1<&3 # restore old stdout exec 3<&- # close temporary fd 3 return -- 2.26.2