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

Unified Diff: trunk/tools/depot_tools/git-templates/hooks/post-commit

Issue 21066002: Revert 214177 "Use plain sh instead of bash in the git template ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
Index: trunk/tools/depot_tools/git-templates/hooks/post-commit
===================================================================
--- trunk/tools/depot_tools/git-templates/hooks/post-commit (revision 214177)
+++ trunk/tools/depot_tools/git-templates/hooks/post-commit (working copy)
@@ -1,3 +1,4 @@
-#!/bin/sh
+#!/bin/bash
-[ -e "build/git-hooks/post-commit" ] && exec "build/git-hooks/post-commit" "$@"
+[ -e "build/git-hooks/post-commit" ] && exec bash "build/git-hooks/post-commit" "$@"
+exit 0
« no previous file with comments | « trunk/tools/depot_tools/git-templates/hooks/post-checkout ('k') | trunk/tools/depot_tools/git-templates/hooks/post-merge » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698