Re: Git 'pre-receive' hook and 'git-clang-format' script to reliably reject pushes that violate code style conventions

2015-12-01 Thread Alexander Shukaev
I don't want to smell like a nasty bumper here, but assuming that my questions were posted not in appropriate time (Saturday evening), I would like to call for help one last time. Thank you. Kind regards, Alexander -- To unsubscribe from this list: send the line "unsubscribe git" in the body

Git 'pre-receive' hook and 'git-clang-format' script to reliably reject pushes that violate code style conventions

2015-11-28 Thread Alexander Shukaev
Hello, I have posted a question on Stack Overflow [1]. I would like to post it here as well since nobody has answered it yet. Let's immediately start with a scrap of the `pre-receive` hook that I've already written: #!/bin/sh ## format_bold='\e[1m' format_red='\e[31m'