git-annex/doc
Joey Hess 15f9fcbcb1
avoid combining multiple words provided to trust/untrust/dead
* trust, untrust, semitrust, dead: Fix behavior when provided with
  multiple repositories to operate on.
* trust, untrust, semitrust, dead: When provided with no parameters,
  do not operate on a repository that has an empty name.

The man page and usage already indicated that multiple repos could be
provided to these commands, but they actually used unwords to combine
everything into string, and found a repo matching that string. This was
especially bad when no parameters resulted in the empty string and some
repo happened to have an empty description.

This does change the behavior, and it's possible someone relied on the
current behavior to eg, trust a repo by name with the name not quoted into
a single parameter. But fixing the empty string bug and matching the
documentation are worth breaking that usage.

Note that git-annex init/reinit do still unwords multiple parameters when
provided to them. That is inconsistent behavior, but it certianly seems
possible that something does run git-annex init with an unquoted
description, and I don't think it's worth breaking that just to make it more
consistent with these other commands.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
2022-10-03 13:48:40 -04:00
..
Android Added a comment 2022-07-18 13:19:44 +00:00
android
assistant
automatic_conflict_resolution
backends
bare_repositories
bugs avoid combining multiple words provided to trust/untrust/dead 2022-10-03 13:48:40 -04:00
chunking
coding_style
contribute update comment about updating comments :) 2022-07-27 19:29:43 -04:00
copies
design update in response to comment 2022-09-30 13:33:59 -04:00
devblog comment 2022-09-13 14:17:01 -04:00
direct_mode
download
encryption
footer
forum Added a comment 2022-09-28 08:40:11 +00:00
future_proofing
git-annex-add
git-annex-addurl Added a comment: checksums and addurl --fast 2022-07-18 16:01:41 +00:00
git-annex-adjust
git-annex-checkpresentkey
git-annex-config
git-annex-copy
git-annex-direct
git-annex-drop
git-annex-enableremote
git-annex-find Added a comment 2022-07-30 15:30:31 +00:00
git-annex-import
git-annex-importfeed
git-annex-lookupkey
git-annex-metadata
git-annex-move
git-annex-p2p
git-annex-preferred-content Support "inbackend" in preferred content expressions 2022-09-26 16:06:49 -04:00
git-annex-reinject
git-annex-rmurl
git-annex-setpresentkey
git-annex-sync
git-annex-test
git-annex-unannex
git-annex-undo
git-annex-uninit
git-annex-unlock
git-annex-unused
git-annex-whereis
how_it_works
install remove link to closed todo 2022-09-27 13:30:39 -04:00
internals
license
links
metadata
news add news item for git-annex 10.20221003 2022-10-03 13:24:33 -04:00
not
polls
preferred_content
profiling
projects fix pagespec 2022-07-29 13:00:19 -04:00
required_content
scalability
security
special_remotes Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
stickers
submodules
sync
templates
testimonials
thanks update 2022-09-05 10:44:45 -04:00
tips 2022-09-30 18:03:50 +00:00
todo applied a patch 2022-09-30 14:04:10 -04:00
trust
tuning
upgrades
use_case
users 2022-09-03 17:33:49 +00:00
videos
walkthrough
workflow
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn improve documentation about backends 2022-09-26 15:59:10 -04:00
bare_repositories.mdwn
bugs.mdwn
builds.mdwn
chunking.mdwn
coding_style.mdwn
comments.mdwn
contact.mdwn
contribute.mdwn
copies.mdwn
design.mdwn
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn
encryption.mdwn correct documentation, keyid= only works once 2022-08-15 14:25:13 -04:00
favicon.ico
forum.mdwn
future_proofing.mdwn
git-annex-add.mdwn add --dry-run: New option 2022-08-03 11:16:04 -04:00
git-annex-addunused.mdwn
git-annex-addurl.mdwn
git-annex-adjust.mdwn Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
git-annex-assistant.mdwn
git-annex-backends.mdwn improve documentation about backends 2022-09-26 15:59:10 -04:00
git-annex-benchmark.mdwn Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
git-annex-calckey.mdwn typo fix 2022-08-03 11:11:10 -04:00
git-annex-checkpresentkey.mdwn
git-annex-common-options.mdwn Improved handling of --time-limit when combined with -J 2022-09-22 12:54:52 -04:00
git-annex-config.mdwn
git-annex-contentlocation.mdwn
git-annex-copy.mdwn
git-annex-dead.mdwn fix reversion on skipping dead keys in --all/bare 2022-09-13 14:38:13 -04:00
git-annex-describe.mdwn
git-annex-diffdriver.mdwn
git-annex-direct.mdwn
git-annex-drop.mdwn
git-annex-dropkey.mdwn
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enable-tor.mdwn
git-annex-enableremote.mdwn
git-annex-examinekey.mdwn
git-annex-expire.mdwn
git-annex-export.mdwn
git-annex-filter-branch.mdwn fix link to git-annex-initremote 2022-08-02 13:51:47 +00:00
git-annex-filter-process.mdwn Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
git-annex-find.mdwn find does not support --batch-keys 2022-07-29 12:34:22 -04:00
git-annex-findref.mdwn
git-annex-fix.mdwn
git-annex-forget.mdwn
git-annex-fromkey.mdwn
git-annex-fsck.mdwn
git-annex-fuzztest.mdwn
git-annex-get.mdwn
git-annex-group.mdwn
git-annex-groupwanted.mdwn
git-annex-import.mdwn import: Avoid following symbolic links inside directories being imported 2022-08-19 13:31:16 -04:00
git-annex-importfeed.mdwn
git-annex-indirect.mdwn
git-annex-info.mdwn
git-annex-init.mdwn
git-annex-initremote.mdwn
git-annex-inprogress.mdwn
git-annex-list.mdwn
git-annex-lock.mdwn
git-annex-log.mdwn improve wording 2022-09-13 15:28:57 -04:00
git-annex-lookupkey.mdwn
git-annex-map.mdwn
git-annex-matchexpression.mdwn
git-annex-matching-expression.mdwn
git-annex-matching-options.mdwn new matching options --want-get-by and --want-drop-by 2022-07-28 13:26:03 -04:00
git-annex-merge.mdwn
git-annex-metadata.mdwn
git-annex-migrate.mdwn improve documentation about backends 2022-09-26 15:59:10 -04:00
git-annex-mincopies.mdwn
git-annex-mirror.mdwn
git-annex-move.mdwn
git-annex-multicast.mdwn
git-annex-numcopies.mdwn
git-annex-p2p.mdwn
git-annex-post-receive.mdwn
git-annex-pre-commit.mdwn
git-annex-preferred-content.mdwn improve documentation about backends 2022-09-26 15:59:10 -04:00
git-annex-proxy.mdwn
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn
git-annex-reinit.mdwn
git-annex-reinject.mdwn
git-annex-rekey.mdwn
git-annex-remotedaemon.mdwn
git-annex-renameremote.mdwn
git-annex-repair.mdwn
git-annex-required.mdwn
git-annex-resolvemerge.mdwn
git-annex-restage.mdwn restage: New git-annex command, handles restaging unlocked files 2022-09-23 16:29:59 -04:00
git-annex-rmurl.mdwn
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn
git-annex-smudge.mdwn
git-annex-status.mdwn
git-annex-sync.mdwn
git-annex-test.mdwn test: Added --test-with-git-config option 2022-09-22 15:58:45 -04:00
git-annex-testremote.mdwn
git-annex-transferkey.mdwn
git-annex-transferkeys.mdwn
git-annex-transferrer.mdwn
git-annex-trust.mdwn
git-annex-unannex.mdwn
git-annex-undo.mdwn
git-annex-ungroup.mdwn
git-annex-uninit.mdwn
git-annex-unlock.mdwn
git-annex-unregisterurl.mdwn
git-annex-untrust.mdwn
git-annex-unused.mdwn
git-annex-upgrade.mdwn
git-annex-vadd.mdwn
git-annex-vcycle.mdwn
git-annex-version.mdwn
git-annex-vfilter.mdwn
git-annex-vicfg.mdwn
git-annex-view.mdwn
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn mention that whereis --all skips dead keys 2022-09-13 15:29:06 -04:00
git-annex-whereused.mdwn
git-annex.mdwn improve documentation about backends 2022-09-26 15:59:10 -04:00
git-remote-tor-annex.mdwn
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn
install.mdwn
internals.mdwn
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn
privacy.mdwn
profiling.mdwn
projects.mdwn
publicrepos.mdwn
related_software.mdwn
repomap.png
required_content.mdwn
scalability.mdwn
security.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn add NNCP special remote! 2022-09-02 16:55:36 -04:00
stickers.mdwn
submodules.mdwn
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
tuning.mdwn
upgrades.mdwn v8 repositories automatically upgrade to v9 2022-07-25 16:20:04 -04:00
users.mdwn
videos.mdwn
walkthrough.mdwn
workflow.mdwn