Skip to content

Provide GITOSIS_ORIGINAL_USER env variable#13

Open
felfert wants to merge 1 commit intores0nat0r:masterfrom
felfert:master
Open

Provide GITOSIS_ORIGINAL_USER env variable#13
felfert wants to merge 1 commit intores0nat0r:masterfrom
felfert:master

Conversation

@felfert
Copy link

@felfert felfert commented Feb 21, 2017

This PR adds an environment variable GITOSIS_ORIGINAL_USER which contains the user name of the pushing user. (From argv[1] within authorized keys). This variable is required in post-receive hooks that emulate guthub-style webhooks (those need to provide a "pusher" which might be different from a committer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant