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 f07af03018
Run ssh with -n whenever input is not being piped into it
... to avoid it consuming stdin that it shouldn't.

This fixes git-annex-checkpresentkey --batch remote, which didn't output
results for all keys passed into it.

Other git-annex commands that communicate with a remote over ssh may also
have been consuming stdin that they shouldn't have, which could have
impacted using them in eg, shell scripts. For example, a shell script
reading files from stdin and passing them to git annex drop would be
impacted by this bug, whenever git annex drop ran git-annex-shell
checkpresent, it would consume part/all of the stdin that the shell script
was supposed to consume.

Fixed by adding a ConsumeStdin parameter to Annex.Ssh.sshOptions, which
is used throughout git-annex to run ssh (in order for ssh connection
caching to work). Every call site was checked to see if it used
CreatePipe for stdin, and if not was marked NoConsumeStdin.
2017-02-15 15:08:46 -04:00
Annex Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
Assistant Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
Backend Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Build fix OSX build 2017-02-13 12:41:28 -04:00
CmdLine config: New command for storing configuration in the git-annex branch. 2017-01-30 16:46:38 -04:00
Command Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
Config annex.autocommit can be configured via git-annex config 2017-02-03 13:58:53 -04:00
Database Work around sqlite's incorrect handling of umask when creating databases. 2017-02-13 17:39:16 -04:00
debian Merge branch 'master' into no-xmpp 2016-12-24 15:01:55 -04:00
doc Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
Git unused: Improved memory use significantly when there are a lot of differences between branches. 2017-01-31 19:42:00 -04:00
Limit matchexpression: New plumbing command to check if a preferred content expression matches some data. 2016-01-25 16:16:18 -04:00
Logs annex.autocommit can be configured via git-annex config 2017-02-03 13:58:53 -04:00
Messages add missing case for unknown size with normal output 2016-10-05 15:10:24 -04:00
P2P fix build on windows 2016-12-30 12:31:51 -04:00
Remote Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
RemoteDaemon Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
standalone correct spelling mistakes 2017-02-12 17:30:23 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates improve description of password prompting 2016-12-28 16:07:49 -04:00
Types add SetupStage parameter to RemoteType.setup 2017-02-07 14:55:58 -04:00
Upgrade Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Utility Work around sqlite's incorrect handling of umask when creating databases. 2017-02-13 17:39:16 -04:00
.ghci workaround for ghci fragility in reusing objects compiled with ghc 2012-10-20 16:20:42 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore fix man page building 2016-06-02 16:54:58 -04:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs annex.autocommit can be configured via git-annex config 2017-02-03 13:58:53 -04:00
Assistant.hs remove xmpp support 2016-11-14 14:53:08 -04:00
Backend.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
bash-completion.bash fix bash completion of filenames containing spaces 2015-07-20 11:17:35 -04:00
build.bat let build.bat also be run from cygwin terminal 2015-04-21 14:12:14 -04:00
BuildFlags.hs remove xmpp support 2016-11-14 14:53:08 -04:00
CHANGELOG Run ssh with -n whenever input is not being piped into it 2017-02-15 15:08:46 -04:00
CmdLine.hs Make --json and --quiet suppress automatic init messages 2016-09-05 15:34:38 -04:00
Command.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
Common.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
Config.hs annex.autocommit can be configured via git-annex config 2017-02-03 13:58:53 -04:00
COPYRIGHT copyright year update 2016-12-24 15:17:37 -04:00
Creds.hs finish git-annex enable-tor 2016-11-29 17:30:27 -04:00
Crypto.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
ghci avoid tab warnings from ghc 8 2016-11-17 13:39:30 -04:00
git-annex.cabal releasing package git-annex version 6.20170214 2017-02-14 14:56:11 -04:00
git-annex.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
git-union-merge.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
Git.hs Propigate GIT_DIR and GIT_WORK_TREE environment to external special remotes. 2016-05-06 12:26:44 -04:00
Jenkinsfile Add initial Jenkins pipeline script 2016-12-01 12:05:26 -04:00
Limit.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Logs.hs config: New command for storing configuration in the git-annex branch. 2017-01-30 16:46:38 -04:00
Makefile avoid OSX build failure when there are no rpaths to remove 2017-02-14 11:44:52 -04:00
Messages.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
NEWS releasing package git-annex version 6.20170101 2016-12-31 23:59:56 -04:00
README use https 2014-11-06 14:20:10 -04:00
Remote.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Setup.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
stack.yaml add missing extra-deps 2017-02-02 14:24:06 -04:00
Test.hs correct spelling mistakes 2017-02-12 17:30:23 -04:00
Types.hs remove module unused since switch to optparse-applicative 2016-01-21 12:59:50 -04:00
Upgrade.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -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 <https://git-annex.branchable.com/>