CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess d9b6be7782
convert encode_c to ByteString
This turns out to be possible after all, because the old one decomposed
a unicode Char to multiple Word8s and encoded those. It should be faster
in some places, particularly in Git.Filename.encodeAlways.

The old version encoded all unicode by default as well as ascii control
characters and also '"'. The new one only encodes ascii control
characters by default.

That old behavior was visible in Utility.Format.format, which did escape
'"' when used in eg git-annex find --format='${escaped_file}\n'
So made sure to keep that working the same. Although the man page only
says it will escape "unusual" characters, so it might be able to be
changed.

Git.Filename.encodeAlways also needs to escape '"' ; that was the
original reason that was escaped.

Types.Transferrer I judge is ok to not escape '"', because the escaped
value is sent in a line-based protocol, which is decoded at the other
end by decode_c. So old git-annex and new will be fine whether that is
escaped or not, the result will be the same.

Note that when asked to escape a double quote, it is escaped to \"
rather than to \042. That's the same behavior as git has. It's
perhaps somehow more of a special case than it needs to be.

Sponsored-by: k0ld on Patreon
2023-04-07 17:10:49 -04:00
Annex improve comments 2023-04-04 15:23:39 -04:00
Assistant Windows: Support urls like "file:///c:/path" 2023-03-27 13:38:02 -04:00
Backend remove unused Key parameter from isCryptographicallySecure 2023-03-27 14:34:00 -04:00
Build Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
CmdLine registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
Command restore old registerurl location tracking behavior 2023-04-05 17:06:44 -04:00
Config use status --ignore-submodules in configureSmudgeFilter 2022-12-20 16:02:42 -04:00
Database Sped up sqlite inserts 2x when built with persistent 2.14.5.0 2023-03-31 14:38:25 -04:00
debian add m68k to arch lists for webapp build deps 2023-02-23 14:26:20 -04:00
doc add news item for git-annex 10.20230407 2023-04-07 13:37:18 -04:00
Git convert encode_c to ByteString 2023-04-07 17:10:49 -04:00
Limit new matching options --want-get-by and --want-drop-by 2022-07-28 13:26:03 -04:00
Logs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Messages factor out Utility.Aeson.textKey 2022-03-02 18:24:06 -04:00
P2P Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Remote external protocol VERSION 2 2023-03-28 17:00:08 -04:00
RemoteDaemon Windows: Support urls like "file:///c:/path" 2023-03-27 13:38:02 -04:00
standalone Revert "Removed the vendored git-lfs and the GitLfs build flag" 2023-01-04 17:33:29 -04:00
static
templates Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Test Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Types convert encode_c to ByteString 2023-04-07 17:10:49 -04:00
Upgrade Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Utility convert encode_c to ByteString 2023-04-07 17:10:49 -04:00
.appveyor.yml update appveyor config 2023-03-22 01:02:26 -04:00
.codespellrc keyspell ignore tmp directory 2023-03-17 15:21:31 -04:00
.ghci
.gitattributes
.gitignore ignore git-annex-build-deps files from dpkg-genbuilddeps 2023-01-29 11:29:51 -04:00
.mailmap
Annex.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Assistant.hs
Backend.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
bash-completion.bash
Benchmark.hs
BuildFlags.hs show when build with Benchmark build flag 2022-08-29 14:55:58 -04:00
BuildInfo.hs
CHANGELOG releasing package git-annex version 10.20230407 2023-04-07 13:37:03 -04:00
CmdLine.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
Command.hs add FIELD?=GLOB to git-annex view usage 2023-02-07 18:09:10 -04:00
Common.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Config.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
COPYRIGHT general copyright year bump 2023-01-09 15:05:27 -04:00
Creds.hs
Crypto.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
git-annex.cabal releasing package git-annex version 10.20230407 2023-04-07 13:37:03 -04:00
git-annex.hs
git-union-merge.hs
Git.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Key.hs
Limit.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Logs.hs
Makefile Added libgcc_s.so.1 to the linux standalone build so pthread_cancel will work 2022-12-22 15:15:25 -04:00
Messages.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
NEWS Fix ambigous typos 2023-03-17 15:14:47 -04:00
README
Remote.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Setup.hs
stack.yaml Revert "stack.yaml: Update to lts-19.33 and aws-0.24" 2023-02-20 15:15:06 -04:00
Test.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Types.hs
Upgrade.hs handle upgrading repositories initialized with --version=9 2022-09-26 12:59:51 -04:00

git-annex allows managing large files with git, without storing the file
contents in git. It can sync, backup, and archive your data, offline
and online. Checksums and encryption keep your data safe and secure. Bring
the power and distributed nature of git to bear on your large files with
git-annex.

For documentation, see doc/ or <https://git-annex.branchable.com/>