Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-receive hook output prefix #272

Open
jthegedus opened this issue Dec 4, 2019 · 0 comments
Open

Pre-receive hook output prefix #272

jthegedus opened this issue Dec 4, 2019 · 0 comments

Comments

@jthegedus
Copy link

jthegedus commented Dec 4, 2019

Hi, in an organisation with many pre-receive hooks running, it would be great if the hook was executed with each stdout line being pre-fixed with the hook that caused the line output.

Like what is shown here: https://superuser.com/a/623119/860394

command1.sh | sed "s/^/[command1] /"
command2.sh | sed "s/^/[command2] /"

For hook maintainers, it is time consuming to constantly address questions about issues related to other hooks created by other teams within an organisation.

Edit:

per-hook solutions are welcome, though a GitHub-wide solution would be ideal.

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

No branches or pull requests

1 participant