pxs: support des versions <= 5.20150825

This commit is contained in:
Jephté Clain 2015-09-26 12:21:44 +04:00
parent b49be1f95d
commit c8c674477e
1 changed files with 2 additions and 4 deletions

View File

@ -238,11 +238,9 @@ elif array_contains VCS_CMDS "$CMD"; then
elif array_contains GITANNEX_CMDS "$CMD"; then
function xsync() {
if is_yes "$(git config --get annex.direct)"; then
git annex sync --pull --no-commit --no-push --no-content &&
git annex add &&
git annex sync --no-pull --commit --no-push --no-content &&
git annex sync --no-pull --no-commit --no-push --content &&
git annex sync --no-pull --no-commit --push --no-content &&
git annex sync &&
git annex sync --content &&
git annex sync
else
git annex sync