projects
/
dotfiles-framework.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abaf8e7
)
Fix 'diff --remove' invocation inside 'diff --local-patch'.
author
W Trevor King
<wking@borg3.physics.drexel.edu>
Wed, 30 Nov 2011 15:34:37 +0000
(10:34 -0500)
committer
W Trevor King
<wking@borg3.physics.drexel.edu>
Wed, 30 Nov 2011 15:34:37 +0000
(10:34 -0500)
dotfiles.sh
patch
|
blob
|
history
diff --git
a/dotfiles.sh
b/dotfiles.sh
index e637bf018a4bda793e6c9d153ba78aa40de36abb..d9a6876a71dc76e14822ea2465e54fc19eb5d07c 100755
(executable)
--- 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