chiark / gitweb /
git: use /bin/true for 'askpass' to prevent all password prompts
authorHans-Christoph Steiner <hans@eds.org>
Mon, 5 Feb 2018 12:24:32 +0000 (13:24 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 12 Feb 2018 11:07:24 +0000 (12:07 +0100)
commitdd93ee6c9b2a206fe5e30cdf0a89463683283d0f
tree6dc94cf3e514868f29dc7416571acfd6ce846238
parent574fa15fce6e0bda0272a80b0627a71845bd9583
git: use /bin/true for 'askpass' to prevent all password prompts

This uses both the env vars and the command line options to ensure
that it works with as many versions of git as possible.  Also, git-svn
uses the env vars, but not necessarily the command line options.

This uses /bin/true to pretend that it succesfully got the password.
If password auth is truly required, then it will fail further on down
the line.
fdroidserver/common.py