Skip to content

Commit

Permalink
also rsync non-git hidden files, like .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
paulie4 committed Nov 5, 2012
1 parent c66ebea commit ce3066f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/divergence/cache_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def add(branch, src_path)
end

def sync(branch, src_path)
`rsync -a --delete #{src_path}/* #{path(branch)}`
`rsync -a --delete --exclude .git --exclude .gitignore #{src_path}/ #{path(branch)}`
end

def path(branch)
Expand Down

0 comments on commit ce3066f

Please sign in to comment.