From dcceced27383d9fef104f483783c4610e1d385a4 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 23 Aug 2011 07:55:09 -0700 Subject: [PATCH] Update rfc.sh to use 'true'. true is /usr/bin/true os OSX but is in the path on both GNU/Linux and OSX. Change-Id: I375b0af7950cefffc8dd87f071e0cf4202a770d6 Reviewed-on: https://review.openstack.org/328 Reviewed-by: Joe Heck Reviewed-by: Jay Pipes Reviewed-by: James E. Blair Tested-by: Jenkins --- tools/rfc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rfc.sh b/tools/rfc.sh index 1bf411e6..ed287e8b 100755 --- a/tools/rfc.sh +++ b/tools/rfc.sh @@ -36,7 +36,7 @@ set_hooks_commit_msg() chmod +x $f; - GIT_EDITOR=/bin/true git commit --amend + GIT_EDITOR=true git commit --amend } add_remote() @@ -87,7 +87,7 @@ rebase_changes() { git fetch; - GIT_EDITOR=/bin/true git rebase -i origin/$branch || exit $?; + GIT_EDITOR=true git rebase -i origin/$branch || exit $?; }