From 3554d5a755c267fbfee2185f666178e61b14ee49 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 23 Aug 2011 07:53:25 -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: Ic54b0eb965f87ddb26e8f18e4b317b6a2e90d8d3 --- tools/rfc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rfc.sh b/tools/rfc.sh index 1bf411e66d..ed287e8b43 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 $?; }