git-annex assist
authorJoey Hess <joeyh@joeyh.name>
Thu, 18 May 2023 18:37:29 +0000 (14:37 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 18 May 2023 18:37:43 +0000 (14:37 -0400)
commite955912ad0e75b4bc3f9107c4a17a11ae7d7d575
tree03649dc8040057b578c93b90f86cdc2b08e23b86
parent80e9a655f82b38c92d3eeacc88d84974d98ff327
git-annex assist

assist: New command, which is the same as git-annex sync but with
new files added and content transferred by default.

(Also this fixes another reversion in git-annex sync,
--commit --no-commit, and --message were not enabled, oops.)

See added comment for why git-annex assist does commit staged
changes elsewhere in the work tree, but only adds files under
the cwd.

Note that it does not support --no-commit, --no-push, --no-pull
like sync does. My thinking is, why should it? If you want that
level of control, use git commit, git annex push, git annex pull.
Sync only got those options because pull and push were not split
out.

Sponsored-by: k0ld on Patreon
16 files changed:
CHANGELOG
CmdLine/GitAnnex.hs
Command/Add.hs
Command/Assist.hs [new file with mode: 0644]
Command/Assistant.hs
Command/Sync.hs
Command/Watch.hs
doc/git-annex-assist.mdwn [new file with mode: 0644]
doc/git-annex-assistant.mdwn
doc/git-annex-config.mdwn
doc/git-annex-sync.mdwn
doc/git-annex-watch.mdwn
doc/git-annex.mdwn
doc/todo/Having___39__git_annex_sync__39___optionally_add.mdwn
doc/todo/Having___39__git_annex_sync__39___optionally_add/comment_10_6d9ef10f9534c7b95ca58913cfe3b5fd._comment [new file with mode: 0644]
git-annex.cabal