Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: git-templates/hooks/pre-rebase

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, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « git-templates/hooks/pre-commit ('k') | git-templates/hooks/prepare-commit-msg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-templates/hooks/pre-rebase
diff --git a/git-templates/hooks/pre-rebase b/git-templates/hooks/pre-rebase
index 20ad5bb33112912821da46c4c4ed07d51c13b470..535b78d5ea042e92fab09a3431d1ce586a05ccea 100755
--- a/git-templates/hooks/pre-rebase
+++ b/git-templates/hooks/pre-rebase
@@ -1,4 +1,4 @@
#!/bin/sh
-[ -e "build/git-hooks/pre-rebase" ] && exec "build/git-hooks/pre-rebase" "$@"
+[ -e "build/git-hooks/pre-rebase" ] && exec sh "build/git-hooks/pre-rebase" "$@"
exit 0
« no previous file with comments | « git-templates/hooks/pre-commit ('k') | git-templates/hooks/prepare-commit-msg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698