Changed repo_name logic for bare repos by Nuxij · Pull Request #97 · DataDog/dogapi

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Conversation

We use a central hook that we symlink to everywhere and were seeing pushes that said "Commit on gitlab-shell (master)", '/gitlab-shell/hooks' being where the hook is stored. I've changed the logic so it can deal with these symlinks and it will also not care if you run the hook from '/repo' or '/repo/hooks'.

conorbranagan added a commit that referenced this pull request

Nov 17, 2014
Changed repo_name logic for bare repos