Permalink
Browse files

fixed fetch and submodule update sequence

  • Loading branch information...
1 parent 069e1f0 commit e1e7854ab03b439d172179535c5633a6bada182b Jonathan D. Gutierrez committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cuisine_sweet/ensure/git.py
View
2 src/cuisine_sweet/ensure/git.py
@@ -86,8 +86,8 @@ def rsync(repo_url, repo_dir, refspec='master', home='.', base_dir='git', local_
with lcd(clone_path_local):
local('git fetch')
- local('git submodule update --init')
local('git reset --hard "origin/%s"' % refspec)
+ local('git submodule update --init')
fuller_log = local('git log -n1 --pretty=fuller', capture=True)
hist.log_latest(repo_url, refspec, repo_dir, fuller_log)

0 comments on commit e1e7854

Please sign in to comment.