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 c1ef4a7481
Avoid Git.Config.updateLocation adding "/.git" to the end of the repo
path to a bare repo when git config is not allowed to list the configs
due to the CVE-2022-24765 fix.

That resulted in a confusing error message, and prevented the nice
message that explains how to mark the repo as safe to use.

Made isBare a tristate so that the case where core.bare is not returned can
be handled.

The handling in updateLocation is to check if the directory
contains config and objects and if so assume it's bare.
Note that if that heuristic is somehow wrong, it would construct a repo
that thinks it's bare but is not. That could cause follow-on problems,
but since git-annex then checks checkRepoConfigInaccessible, and skips
using the repo anyway, a wrong guess should not be a problem.

Sponsored-by: Luke Shumaker on Patreon
2023-02-14 14:00:36 -04:00
Annex Sped up view branch construction by 50% 2023-02-13 13:29:57 -04:00
Assistant Avoid Git.Config.updateLocation adding "/.git" to the end of the repo 2023-02-14 14:00:36 -04:00
Backend move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
Build work around ldd crash on arm64 autobuilder 2023-01-28 14:26:01 -04:00
CmdLine add FIELD?=GLOB to git-annex view usage 2023-02-07 18:09:10 -04:00
Command better handling of multiple repositories with the same name 2023-02-13 14:31:09 -04:00
Config use status --ignore-submodules in configureSmudgeFilter 2022-12-20 16:02:42 -04:00
Database use isBareRepo 2023-02-14 13:52:05 -04:00
debian remove libghc-pcre-light-dev build dep 2023-01-26 14:53:19 -04:00
doc Avoid Git.Config.updateLocation adding "/.git" to the end of the repo 2023-02-14 14:00:36 -04:00
Git Avoid Git.Config.updateLocation adding "/.git" to the end of the repo 2023-02-14 14:00:36 -04:00
Limit new matching options --want-get-by and --want-drop-by 2022-07-28 13:26:03 -04:00
Logs avoid sync pushing view branches to remotes, and better view branch names 2023-02-08 13:57:48 -04:00
Messages factor out Utility.Aeson.textKey 2022-03-02 18:24:06 -04:00
P2P fix handling of corrupted data received from git remote 2022-01-07 13:25:33 -04:00
Remote Avoid Git.Config.updateLocation adding "/.git" to the end of the repo 2023-02-14 14:00:36 -04:00
RemoteDaemon
standalone Revert "Removed the vendored git-lfs and the GitLfs build flag" 2023-01-04 17:33:29 -04:00
static
templates
Test speed up --pattern 2022-12-07 13:51:22 -04:00
Types add directory to views for files that lack specified metadata 2023-02-07 16:28:46 -04:00
Upgrade avoid uncessary keys db writes; doubled speed! 2022-10-12 15:33:16 -04:00
Utility Support http urls that contain ":" that is not followed by a port number 2023-02-10 13:34:47 -04:00
.ghci turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
.gitattributes
.gitignore ignore git-annex-build-deps files from dpkg-genbuilddeps 2023-01-29 11:29:51 -04:00
.mailmap
Annex.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
Assistant.hs
Backend.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -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 Avoid Git.Config.updateLocation adding "/.git" to the end of the repo 2023-02-14 14:00:36 -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 avoid unix-compat's rename 2022-07-12 14:55:02 -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 avoid setEnv while testing gpg 2022-05-18 16:05:11 -04:00
git-annex.cabal add upper bounds on base version 2023-01-26 15:33:52 -04:00
git-annex.hs
git-union-merge.hs
Git.hs use getSymbolicLinkStatus not getFileStatus to avoid crash on broken symlink 2022-09-05 13:46:32 -04:00
Key.hs
Limit.hs --anything and --nothing 2022-12-20 15:44:09 -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
NEWS complete annex.skipunknown transition 2022-02-18 13:18:05 -04:00
README improve description 2022-01-06 12:24:27 -04:00
Remote.hs better handling of multiple repositories with the same name 2023-02-13 14:31:09 -04:00
Setup.hs
stack.yaml Revert "Removed the vendored git-lfs and the GitLfs build flag" 2023-01-04 17:33:29 -04:00
Test.hs test: Add --test-debug option 2022-11-28 15:12:53 -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/>