améliorer pxs pour un dépôt en mode direct
This commit is contained in:
parent
2ce66e6717
commit
552e4ba981
13
uproject
13
uproject
|
@ -237,9 +237,16 @@ elif array_contains VCS_CMDS "$CMD"; then
|
||||||
|
|
||||||
elif array_contains GITANNEX_CMDS "$CMD"; then
|
elif array_contains GITANNEX_CMDS "$CMD"; then
|
||||||
function xsync() {
|
function xsync() {
|
||||||
local direct
|
if is_yes "$(git config --get annex.direct)"; then
|
||||||
is_yes "$(git config --get annex.direct)" && direct=1
|
git annex sync --pull --no-commit --no-push --no-content &&
|
||||||
git annex sync ${direct:+--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
|
||||||
|
else
|
||||||
|
git annex sync
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
use_ssh_wrapper
|
use_ssh_wrapper
|
||||||
case "$CMD" in
|
case "$CMD" in
|
||||||
|
|
Loading…
Reference in New Issue