Repository: yetus
Updated Branches:
  refs/heads/master 483120dee -> a54a4f5ae


YETUS-710 test-patch.sh fails when using a git worktree repository

Signed-off-by: Allen Wittenauer <[email protected]>


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

Branch: refs/heads/master
Commit: a54a4f5aebe78e77517f7f99f914d5d4164c4750
Parents: 483120d
Author: Lars Francke <[email protected]>
Authored: Fri Nov 2 09:49:59 2018 +0100
Committer: Allen Wittenauer <[email protected]>
Committed: Mon Nov 5 16:52:36 2018 -0800

----------------------------------------------------------------------
 precommit/test-patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/a54a4f5a/precommit/test-patch.sh
----------------------------------------------------------------------
diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh
index df1849b..a95db54 100755
--- a/precommit/test-patch.sh
+++ b/precommit/test-patch.sh
@@ -1330,7 +1330,7 @@ function git_checkout
   big_console_header "Confirming git environment"
 
   cd "${BASEDIR}" || cleanup_and_exit 1
-  if [[ ! -d .git ]]; then
+  if [[ ! -e .git ]]; then
     yetus_error "ERROR: ${BASEDIR} is not a git repo."
     cleanup_and_exit 1
   fi

Reply via email to