You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2015/10/21 16:57:52 UTC

mesos git commit: Removed unnecessary exec in post-rewrite hook.

Repository: mesos
Updated Branches:
  refs/heads/master edffeeee6 -> 8de47a8ef


Removed unnecessary exec in post-rewrite hook.

Review: https://reviews.apache.org/r/39506


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8de47a8e
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8de47a8e
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8de47a8e

Branch: refs/heads/master
Commit: 8de47a8ef27288d7660ee3a5e40874def912b8c2
Parents: edffeee
Author: haosdent huang <ha...@gmail.com>
Authored: Wed Oct 21 10:56:16 2015 -0400
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Wed Oct 21 10:57:03 2015 -0400

----------------------------------------------------------------------
 support/hooks/post-rewrite | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/8de47a8e/support/hooks/post-rewrite
----------------------------------------------------------------------
diff --git a/support/hooks/post-rewrite b/support/hooks/post-rewrite
index 1d6df6f..7df1e0f 100755
--- a/support/hooks/post-rewrite
+++ b/support/hooks/post-rewrite
@@ -21,10 +21,10 @@ git diff-index --check @~ -- || exit 1
 ## In git, '@' represent current head, '@~' represent previous commit. We check
 ## the style of changes between current head and previous commit after a commit
 ## is rewritten.
-exec git diff --name-only --diff-filter=AM @~..@ | xargs ./support/mesos-style.py || exit 1
+git diff --name-only --diff-filter=AM @~..@ | xargs ./support/mesos-style.py || exit 1
 
 # Check that the commits are properly split between mesos, libprocess and stout.
 ## In git, '@' represent current head, '@~' represent previous commit. We check
 ## the style of changes between current head and previous commit after a commit
 ## is rewritten.
-exec git diff --name-only --diff-filter=AMD @~..@ | xargs ./support/mesos_split.py || exit 1
+git diff --name-only --diff-filter=AMD @~..@ | xargs ./support/mesos_split.py || exit 1