Skip to content

Commit

Permalink
Merge pull request #185 from merqlove/ascii-fix
Browse files Browse the repository at this point in the history
Fix non ascii symbols bug.
  • Loading branch information
ricardclau authored Feb 2, 2017
2 parents bf6371f + 0104ab4 commit ae8874f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/update-code/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
- name: ANSISTRANO | GIT | Sync repo subtree["{{ ansistrano_git_real_repo_tree }}"] to release path
shell: >-
{
git ls-files --with-tree="{{ ansistrano_git_branch }}";
git submodule foreach --recursive --quiet 'git ls-files --with-tree="$sha1" | sed "s#^#$path/#"';
git ls-files -z --with-tree="{{ ansistrano_git_branch }}" | tr '\0' '\n';
git submodule foreach --recursive --quiet 'git ls-files -z --with-tree="$sha1" | tr "\0" "\n" | sed "s#^#$path/#"';
}
| grep "^$prefix"
| sed "s#^$prefix/##"
Expand Down

0 comments on commit ae8874f

Please sign in to comment.