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:
cd5ef08
)
Set --work-tree to REPO when running 'git pull'.
author
W. Trevor King
<wking@drexel.edu>
Wed, 30 Nov 2011 20:50:56 +0000
(15:50 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 30 Nov 2011 20:50:56 +0000
(15:50 -0500)
dotfiles.sh
patch
|
blob
|
history
diff --git
a/dotfiles.sh
b/dotfiles.sh
index cb9dc368828d16b2525ad15835101329552db3bb..f400bc767543cf61c52a01127f00e659b3436bed 100755
(executable)
--- a/
dotfiles.sh
+++ b/
dotfiles.sh
@@
-315,7
+315,7
@@
function fetch()
get_repo_source "${REPO}" || return 1
TRANSFER=$(nonempty_option 'fetch' 'TRANSFER' "${REPO_SOURCE_DATA['transfer']}") || return 1
if [ "${TRANSFER}" = 'git' ]; then
- "${GIT}" --git-dir "${REPO}/.git" pull || return 1
+ "${GIT}" --git-dir "${REPO}/.git"
--work-tree "${REPO}"
pull || return 1
elif [ "${TRANSFER}" = 'wget' ]; then
wget_fetch "${REPO}" || return 1
else