From: W Trevor King Date: Wed, 30 Nov 2011 15:34:37 +0000 (-0500) Subject: Fix 'diff --remove' invocation inside 'diff --local-patch'. X-Git-Tag: v0.3~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc7ac1342411ad10f76629616c9d67ea12ea503e;p=dotfiles-framework.git Fix 'diff --remove' invocation inside 'diff --local-patch'. --- 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