Make authenticated user available to git hooks

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • None
    • Component/s: None
    • None

      It would be useful for people writing custom git hooks to have access to the authenticated user in their hooks.

      Stash currently authenticates users when they push to or pull from a Stash repository, but does not pass on the user to git. We could easily make the user available through an environment variable (e.g. USER, STASH_USER or GIT_USER)

            Assignee:
            Unassigned
            Reporter:
            Michael Heemskerk (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: