git-annex/doc
Joey Hess cf260d9a15
Fix storing of filenames of v6 unlocked files when the filename is not representable in the current locale.
This is a mostly backwards compatable change. I broke backwards
compatability in the case where a filename starts with double-quote.
That seems likely to be very rare, and v6 unlocked files are a new feature
anyway, and fsck needs to fix missing associated file mappings anyway. So,
I decided that is good enough.

The encoding used is to just show the String when it contains a problem
character. While that adds some overhead to addAssociatedFile and
removeAssociatedFile, those are not called very often. This approach has
minimal decode overhead, because most filenames won't be encoded that way,
and it only has to look for the leading double-quote to skip the expensive
read. So, getAssociatedFiles remains fast.

I did consider using ByteString instead, but getting a FilePath converted
with all chars intact, even surrigates, is difficult, and it looks like
instance PersistField ByteString uses Text, which I don't trust for problem
encoded data. It would probably be slower too, and it would make the
database less easy to inspect manually.
2016-02-14 16:37:25 -04:00
..
Android Added a comment: ssh keys, github, xmpp 2015-12-28 22:09:24 +00:00
android
assistant Added a comment: @niklaas 2015-08-17 13:42:26 +00:00
automatic_conflict_resolution
backends comment 2015-07-06 12:05:29 -04:00
bare_repositories
bugs Fix storing of filenames of v6 unlocked files when the filename is not representable in the current locale. 2016-02-14 16:37:25 -04:00
coding_style response 2015-09-29 11:26:42 -04:00
contact
copies
design update 2016-02-09 16:32:40 -04:00
devblog Added a comment 2016-02-10 12:49:18 +00:00
direct_mode
download sigh @ encfs... 2015-11-30 15:22:00 -04:00
ekg
encryption response 2015-09-17 13:03:19 -04:00
footer
forum Added a comment: Thanks 2016-02-12 21:47:53 +00:00
future_proofing
git-annex-copy comment 2015-07-06 13:42:01 -04:00
git-annex-direct
git-annex-importfeed Added a comment 2016-01-02 21:02:51 +00:00
git-annex-preferred-content comment 2016-01-22 12:25:56 -04:00
git-annex-unused comment 2016-01-11 12:30:52 -04:00
how_it_works commet 2016-01-11 12:21:45 -04:00
install update for MagicMime with stack 2016-02-05 14:34:12 -04:00
internals
license
links
metadata
news add news item for git-annex 6.20160211 2016-02-11 12:03:11 -04:00
not
polls
preferred_content comment 2016-01-29 13:37:17 -04:00
required_content
scalability
special_remotes S3: Allow configuring with requeststyle=path to use path-style bucket access instead of the default DNS-style access. 2016-02-09 15:36:36 -04:00
stickers Added a comment 2015-11-20 08:37:39 +00:00
sync
templates add copy of note.mdwn, since Makefile's ikiwiki invocation omits the basewiki 2015-12-26 16:40:11 -04:00
testimonials
tips note 2016-02-03 19:00:23 -04:00
todo 2016-02-12 22:39:04 +00:00
trust
tuning
upgrades
use_case
users I'm feeling.. typoish 2015-11-10 17:00:06 -04:00
videos
walkthrough update walkthrough and add tip about using v6 unlocked files 2015-12-26 16:47:23 -04:00
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn backends.mdwn: Typo fix, 'SHA_512E' → 'SHA3_512E' 2015-08-13 04:19:11 +02:00
bare_repositories.mdwn
bugs.mdwn set postformtext to perhaps make it clearer that this form at the top of the page is where one reports a new bug 2015-08-02 19:20:55 -04:00
builds.mdwn show OSX test result 2016-01-15 16:55:13 -04:00
chunking.mdwn
coding_style.mdwn m 2015-12-05 19:52:38 +00:00
comments.mdwn
contact.mdwn
contribute.mdwn
copies.mdwn
design.mdwn
devblog.mdwn
direct_mode.mdwn don't let git-annex direct be run in a v6 repo 2015-12-04 16:33:09 -04:00
distributed_version_control.mdwn
download.mdwn
ekg.mdwn
encryption.mdwn
favicon.ico
forum.mdwn
future_proofing.mdwn link to new tip about encryption 2016-01-08 11:48:53 -04:00
git-annex-add.mdwn add --batch 2016-01-19 17:48:42 -04:00
git-annex-addunused.mdwn
git-annex-addurl.mdwn document annex.largefiles handling 2016-01-25 13:41:21 -04:00
git-annex-assistant.mdwn meant to be in prev commit 2015-11-02 11:22:02 -04:00
git-annex-checkpresentkey.mdwn checkpresentkey: Allow to be run without an explicit remote and add --batch 2016-02-12 16:43:51 -04:00
git-annex-contentlocation.mdwn
git-annex-copy.mdwn
git-annex-dead.mdwn
git-annex-describe.mdwn
git-annex-diffdriver.mdwn
git-annex-direct.mdwn don't let git-annex direct be run in a v6 repo 2015-12-04 16:33:09 -04:00
git-annex-drop.mdwn drop -Jn 2015-11-04 17:13:20 -04:00
git-annex-dropkey.mdwn Brought back the setkey plumbing command that was removed in 2011, since we found a use case for it. Note that the command's syntax was changed for consistency. 2015-07-02 17:44:25 -04:00
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enableremote.mdwn enableremote: List uuids and descriptions of remotes that can be enabled, and accept either the uuid or the description in leu if the name. 2015-10-26 14:55:40 -04:00
git-annex-examinekey.mdwn
git-annex-expire.mdwn
git-annex-find.mdwn find --batch 2016-01-20 13:04:07 -04:00
git-annex-findref.mdwn
git-annex-fix.mdwn annex.thin 2015-12-27 15:59:59 -04:00
git-annex-forget.mdwn
git-annex-fromkey.mdwn
git-annex-fsck.mdwn parallel fsck (yes, these changes are all it takes now!) 2015-11-04 16:28:14 -04:00
git-annex-fuzztest.mdwn
git-annex-get.mdwn
git-annex-group.mdwn
git-annex-groupwanted.mdwn
git-annex-import.mdwn document annex.largefiles handling 2016-01-25 13:41:21 -04:00
git-annex-importfeed.mdwn doc/*.mdwn: Minor fixes (typos, letter case) 2015-07-26 04:21:06 +02:00
git-annex-indirect.mdwn don't let git-annex direct be run in a v6 repo 2015-12-04 16:33:09 -04:00
git-annex-info.mdwn info: Support --batch mode. 2016-01-15 15:56:47 -04:00
git-annex-init.mdwn Use git-annex init --version=6 to get v6 for now 2015-12-15 17:17:13 -04:00
git-annex-initremote.mdwn Special remotes configured with autoenable=true will be automatically enabled when git-annex init is run. 2015-09-14 14:49:48 -04:00
git-annex-list.mdwn
git-annex-lock.mdwn v6 git-annex unlock 2015-12-10 16:12:48 -04:00
git-annex-log.mdwn remove redundant options header 2015-07-06 18:22:27 -04:00
git-annex-lookupkey.mdwn
git-annex-map.mdwn
git-annex-matchexpression.mdwn matchexpression: Added --largefiles option to parse an annex.largefiles expression. 2016-02-03 16:58:36 -04:00
git-annex-matching-options.mdwn
git-annex-merge.mdwn
git-annex-metadata.mdwn
git-annex-migrate.mdwn
git-annex-mirror.mdwn
git-annex-move.mdwn
git-annex-numcopies.mdwn
git-annex-pre-commit.mdwn avoid pre-commit hook messing up new-style unlocked files in v6 repo 2015-12-09 15:18:54 -04:00
git-annex-preferred-content.mdwn Limit annex.largefiles parsing to the subset of preferred content expressions that make sense in its context. 2016-02-03 15:04:42 -04:00
git-annex-proxy.mdwn improve docs 2015-08-04 14:37:43 -04:00
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn
git-annex-reinit.mdwn Special remotes configured with autoenable=true will be automatically enabled when git-annex init is run. 2015-09-14 14:49:48 -04:00
git-annex-reinject.mdwn Do verification of checksums of annex objects downloaded from remotes. 2015-10-01 15:56:39 -04:00
git-annex-rekey.mdwn
git-annex-remotedaemon.mdwn
git-annex-repair.mdwn
git-annex-required.mdwn add the date this was added 2015-08-18 18:53:25 +00:00
git-annex-resolvemerge.mdwn
git-annex-rmurl.mdwn
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn Do verification of checksums of annex objects downloaded from remotes. 2015-10-01 15:56:39 -04:00
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn add unlocked flag for git-annex-shell recvkey 2015-12-26 13:59:27 -04:00
git-annex-smudge.mdwn fix docs 2015-12-16 16:00:41 -04:00
git-annex-status.mdwn status: Show added but not yet committed files. 2015-09-22 17:32:28 -04:00
git-annex-sync.mdwn 2016-01-05 22:44:15 +00:00
git-annex-test.mdwn test: Added --keep-failures option. 2016-01-06 13:44:12 -04:00
git-annex-testremote.mdwn
git-annex-transferkey.mdwn
git-annex-transferkeys.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 annex.thin 2015-12-27 15:59:59 -04:00
git-annex-untrust.mdwn
git-annex-unused.mdwn fix man format 2015-07-10 16:52:53 -04:00
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 expand 2015-07-20 13:48:01 -04:00
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn whereis --batch 2016-01-20 12:46:00 -04:00
git-annex-xmppgit.mdwn
git-annex.mdwn rework largefiles documentation 2016-02-02 16:50:58 -04:00
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn
install.mdwn Replace Arch installation instructions with the package in official repos 2016-01-16 11:33:06 +00:00
internals.mdwn doc improvements 2015-12-27 16:06:11 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn copy license info for logo onto logo page 2015-11-20 16:25:08 -04:00
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn
news.mdwn
not.mdwn update 2016-01-19 12:07:46 -04:00
polls.mdwn 2015 user survey 2015-10-19 15:15:04 -04:00
preferred_content.mdwn add "nothing" to preferred content DSL 2016-02-02 14:42:13 -04:00
privacy.mdwn
publicrepos.mdwn Fix formatting (grrr) 2016-01-02 23:29:38 +00:00
related_software.mdwn add densho 2016-02-12 12:21:04 -04:00
repomap.png
required_content.mdwn
scalability.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn add Blackblaze B2 extranal special remote to the list 2015-12-11 11:06:02 -04:00
stickers.mdwn improve 2015-11-19 18:56:24 -04:00
submodules.mdwn
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn update 2015-10-20 00:43:18 -04:00
tips.mdwn
todo.mdwn set postformtext to perhaps make it clearer that this form at the top of the page is where one reports a new bug 2015-08-02 19:20:55 -04:00
transferring_data.mdwn
trust.mdwn fix link display so the user reading this isn't led to beleive there are commands git-annex-$foo 2015-09-09 15:56:06 -04:00
tuning.mdwn
upgrades.mdwn add references to annex.thin in the upgrade docs 2016-01-14 21:21:36 +00:00
users.mdwn
videos.mdwn
Void.mdwn Creating initial Void Linux support page to match all the other Linux distros. 2015-09-07 14:03:01 +00:00
walkthrough.mdwn