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 2b97f5381a add tweak-fetch command, for use in the tweak-fetch hook
tweak-fetch is a new git hook I have developed (not yet accepted into
git, but looking bright). Amoung other things, the hook can be used to
observe what is being fetched, notice remote git-annex branches that might
be updated, and merge them into the git-annex branch.

This will solve problems where users do a git pull, immediately followed
by a push, and it refuses to push because their git-annex branch is
diverged, and they neither ran git annex merge by hand, nor ran other
git-annex commands that auto-merge.

The tweak-fetch is written by git annex init. Of course, existing
repositories won't have it, which is ok, because git-annex still
automatically does a merge if changed branches have appeared. Indeed,
it will always need to do that check, as long as it needs to support
support git-annex branches that might be updated by other means.

Eventually though, I will want to ensure all repositories have the
tweak-fetch hook. Perhaps a minor verison upgrade to ensure it is added?

A subtlety of the hook is that when it's run, the remote tracking refs
have not yet been updated. So Annex.Branch.updateTo has to be careful to
only use the sha1 that was fetched, not the branch name. The branch
name is only used in the commit message.

The other tricky thing is that git tweak-fetch hook should *only*
output lines in a specific format, and git will be unhappy if it also
outputs status messages, etc. So those messages are sent to stderr.
2011-12-26 14:25:37 -04:00
Annex add tweak-fetch command, for use in the tweak-fetch hook 2011-12-26 14:25:37 -04:00
Backend more partial function removal 2011-12-15 18:19:36 -04:00
Build moved files around 2011-08-20 16:11:42 -04:00
Command add tweak-fetch command, for use in the tweak-fetch hook 2011-12-26 14:25:37 -04:00
Common lint 2011-11-11 01:52:58 -04:00
debian find --json 2011-12-23 01:08:19 -04:00
doc add tweak-fetch command, for use in the tweak-fetch hook 2011-12-26 14:25:37 -04:00
Git add tweak-fetch command, for use in the tweak-fetch hook 2011-12-26 14:25:37 -04:00
Logs more partial function removal 2011-12-15 18:19:36 -04:00
Messages find --json 2011-12-23 01:08:19 -04:00
Remote Improve deletion of files from rsync special remotes. Closes: #652849 2011-12-21 16:57:03 -04:00
Types split out Utility.Gpg with the generic gpg interface, from Crypto 2011-12-20 23:24:06 -04:00
Upgrade more partial function removal 2011-12-15 18:19:36 -04:00
Utility cleanup 2011-12-23 01:08:19 -04:00
.gitattributes decruft 2011-06-22 18:56:08 -04:00
.gitignore split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Annex.hs Format strings can be specified using the new --find option, to control what is output by git annex find. 2011-12-22 18:31:44 -04:00
Backend.hs more partial function removal 2011-12-15 18:19:36 -04:00
CHANGELOG symlinks 2010-10-27 15:14:59 -04:00
Checks.hs lint 2011-11-11 01:52:58 -04:00
CmdLine.hs more partial function removal 2011-12-15 18:19:36 -04:00
Command.hs factor out a stopUnless 2011-12-09 12:23:45 -04:00
Common.hs amusing name 2011-12-20 11:01:50 -04:00
Config.hs more partial function removal 2011-12-15 18:19:36 -04:00
configure.hs Can now be built with older git versions (before 1.7.7); the resulting binary should only be used with old git. 2011-12-22 15:01:13 -04:00
Crypto.hs split out Utility.Gpg with the generic gpg interface, from Crypto 2011-12-20 23:24:06 -04:00
git-annex-shell.hs split out three modules from Git 2011-12-13 15:06:49 -04:00
git-annex.cabal split out three modules from Git 2011-12-13 15:06:49 -04:00
git-annex.hs renamed GitRepo to Git 2011-06-30 13:21:39 -04:00
git-union-merge.hs split more stuff out of Git.hs 2011-12-14 15:43:13 -04:00
Git.hs split out Git/Command.hs 2011-12-14 15:56:11 -04:00
GitAnnex.hs add tweak-fetch command, for use in the tweak-fetch hook 2011-12-26 14:25:37 -04:00
GPL symlinks 2010-10-27 15:14:59 -04:00
Init.hs add tweak-fetch command, for use in the tweak-fetch hook 2011-12-26 14:25:37 -04:00
INSTALL symlinks 2010-10-27 15:14:59 -04:00
Limit.hs Add --include, which is the same as --not --exclude. 2011-12-22 14:00:17 -04:00
Locations.hs avoid partial function 2011-12-15 16:58:58 -04:00
Makefile note 2011-12-20 16:07:34 -04:00
mdwn2man mwdn2man: Fix a bug in newline supression. Closes: #606578 2010-12-10 17:27:02 -04:00
Messages.hs find --json 2011-12-23 01:08:19 -04:00
Options.hs Format strings can be specified using the new --find option, to control what is output by git annex find. 2011-12-22 18:31:44 -04:00
README add README 2011-05-13 19:20:54 -04:00
Remote.hs skip repos without a description set when --in="" is specified 2011-12-23 14:08:04 -04:00
Seek.hs split out two more Git modules 2011-12-13 15:24:23 -04:00
Setup.hs cabal can now be used to build git-annex. 2011-06-30 14:55:03 -04:00
test.hs handle C-style escapes in Format 2011-12-23 01:05:16 -04:00
Types.hs add a UUID type 2011-11-07 15:59:16 -04:00
Upgrade.hs rename 2011-10-05 16:02:51 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

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