I have the post-receive hook running with a configuration in gitolite that emails a group when any files change in a repo on a certain branch. Now, I have a request to setup email notification for a different "TO" when certain files change in the same repo. How do I set up multiple configs for the post-receive email hook? Also, how do I trigger a post-receive hook based on files that changed? I don't believe the hook has file info, right?
How do I setup multiple configs for gitolite - post-receive hook email notification?
568 Views Asked by user561638 At
1
There are 1 best solutions below
Related Questions in GIT
- Push mysql database script to server using git
- Git show's file path
- Git > diffs filtered, show only certain changed classes/files
- Pushing to git repository hosted by Visual studio online without entering user name and password
- How do I create my own Git branch to work on?
- Git init --bare giving error fatal: Out of memory? mmap failed: No such device
- Sub-directory into independent repository and later merge back into main repository
- How to find the Git Revision Hash in a synced SVN repo using SubGit?
- eclipse errors when try to change to master git branch
- How to have Heroku build my development branch on a staging server?
- Is "Merged in" a commit message created by bitbucket, or git?
- Git: Multiple projects under one directory
- Permission denied hg-git
- Is it possible to clone a private git repo without adding ssh keys
- Track file in master repository which is ignored in submodule
Related Questions in EMAIL
- how to send email from localhost using codeigniter?
- PowerShell EWS Save as for e-mails
- I want to develop an automated email application in asp.net with c#
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Postfix - cannot connect to server to receive email
- PHPMailer send mail with array ( $_POST['email'] )
- Could Not Instantiate Mail Function - PHPMailer - With Attachments - Only Google Chrome
- encrypted email with entrust certificate is not opening with MS Outlook
- Disconnect Client connected to cgi application
- send a message using freemarker
- Using advanced ccs icons in email signatures
- How can I fetch emails on Android?
- Issue with email form and php script
- HTML Control Form with PHP - Errors
- javax.mail.getValidSentAddresses()
Related Questions in GITHOOKS
- Git post-update hook for every branch
- How to trigger git hooks without pushing to the repo
- Push dfferent variants to different remotes
- Unable to trigger build using 'Poll SCM' and Git notifyCommit option
- Git hook pre-commit error: "command not found"
- "Arguments to path.resolve must be strings" when calling 'gitbook build' from a Git hook
- git diff not working on a bare repo, post-receive hook
- Git post-receive hook is not executed
- Get the list of unstaged files in git pre-commit hook
- Git post-receive hook stopped copying files to web directory
- Git hook to indicate repository is deprecated
- Git Post Commit hooks to find name of branch
- gitolite/git: how can I bypass a pre-receive hook on demand?
- gitolite/git: how can I automatically populate the git pre-commit/pre-push hook
- Git post-receive hook should not send email by new branching push
Related Questions in GITOLITE
- Write Access for user on all repos on Gitolite
- How to check permission for other users in gitolite?
- Gitolite denies access to a repo while allowing another
- Migrating Permissions from Gitolite to GitLab
- Plugin to use gitolite's ACLs for CGIT/Apache httpd?
- gitolite/git: how can I bypass a pre-receive hook on demand?
- gitolite/git: how can I automatically populate the git pre-commit/pre-push hook
- gitolite - how to clone and push to repo that's created under a "user" folder
- How to pull changes on remote clone
- Issue on Gitolite permissions on a derived branch from a restricted one
- gitolite authentication failure
- Create a git repository with gitolite and push an existing local repository to it
- Cygwin and gitolite 3. How to set it up on windows?
- Gitolite user/repositories management
- Deploy website using Git/Gitolite [post-receive hook doesn't work properly]
Related Questions in GIT-POST-RECEIVE
- git diff not working on a bare repo, post-receive hook
- Git post-receive hook is not executed
- Git post-receive hook should not send email by new branching push
- Local Kudu post-recieve pull not working
- Deploy website using Git/Gitolite [post-receive hook doesn't work properly]
- Git post-receive hook not working
- Finding the first commit on a branch with GitPython
- How do I configure a remote to have a fixed receive pack?
- git post-receive read oldrev newrev ref : bad variable name
- git post-receive not executed
- Git post-receive hook loop though all commits
- Git post-receive hook not working properly
- git pull in hooks/post-receive failed
- How to use post-receive hook after git push to gitolite server?
- How do I setup multiple configs for gitolite - post-receive hook email notification?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You will have to inspect
git log --name-only oldrev..newrevoutput to determine if any files that you are interested are changed.