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:
433e4e5
)
More indentation fixups in dotfiles.sh.
author
W Trevor King
<wking@borg3.physics.drexel.edu>
Wed, 30 Nov 2011 15:21:52 +0000
(10:21 -0500)
committer
W Trevor King
<wking@borg3.physics.drexel.edu>
Wed, 30 Nov 2011 15:21:52 +0000
(10:21 -0500)
dotfiles.sh
patch
|
blob
|
history
diff --git
a/dotfiles.sh
b/dotfiles.sh
index 5927dab410ca2c603df462a02008af50aa121856..1e7b8a61cb2f08a4c2b9cf83074510217e8d3027 100755
(executable)
--- a/
dotfiles.sh
+++ b/
dotfiles.sh
@@
-348,17
+348,17
@@
function diff()
{
MODE='standard'
while [ "${1::2}" = '--' ]; do
- case "${1}" in
- '--removed')
- MODE='removed'
- ;;
- '--local-patch')
- MODE='local-patch'
- ;;
- *)
- echo "ERROR: invalid option to diff (${1})" >&2
- return 1
- esac
+
case "${1}" in
+
'--removed')
+
MODE='removed'
+
;;
+
'--local-patch')
+
MODE='local-patch'
+
;;
+
*)
+
echo "ERROR: invalid option to diff (${1})" >&2
+
return 1
+
esac
shift
done
# multi-repo case handled in main() by run_on_all_repos()