Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Allow core.askpass to override SSH_ASKPASS.
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index 17538117a5ccfd48129a873697d8674e86f512f5..19a93fb9a2b5a95750154ebe352a43435ad1b47c 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-55,9
+55,6
@@
static int handle_options(const char ***argv, int *argc, int *envchanged)
{
int handled = 0;
- if (!getenv("GIT_ASKPASS") && getenv("SSH_ASKPASS"))
- setenv("GIT_ASKPASS", getenv("SSH_ASKPASS"), 1);
-
while (*argc > 0) {
const char *cmd = (*argv)[0];
if (cmd[0] != '-')