Chromium Code Reviews

Side by Side Diff: git-templates/hooks/prepare-commit-msg

Issue 21012004: Explicitly exec hooks inside a shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « git-templates/hooks/pre-rebase ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 [ -e "build/git-hooks/prepare-commit-msg" ] && exec "build/git-hooks/prepare-com mit-msg" "$@" 3 [ -e "build/git-hooks/prepare-commit-msg" ] && exec sh "build/git-hooks/prepare- commit-msg" "$@"
4 exit 0 4 exit 0
OLDNEW
« no previous file with comments | « git-templates/hooks/pre-rebase ('k') | no next file » | no next file with comments »

Powered by Google App Engine