yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject yetus git commit: YETUS-710 test-patch.sh fails when using a git worktree repository
Date Tue, 06 Nov 2018 00:52:49 GMT
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 <aw@apache.org>


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 <lars.francke@gmail.com>
Authored: Fri Nov 2 09:49:59 2018 +0100
Committer: Allen Wittenauer <aw@apache.org>
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


Mime
View raw message