You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Yetus QA (JIRA)" <ji...@apache.org> on 2018/11/02 11:09:00 UTC

[jira] [Commented] (YETUS-710) test-patch.sh fails when using a git worktree "repository"

    [ https://issues.apache.org/jira/browse/YETUS-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672946#comment-16672946 ] 

Yetus QA commented on YETUS-710:
--------------------------------

(!) A patch to the testing environment has been detected. 
Re-executing against the patched versions to perform further tests. 
The console is at https://builds.apache.org/job/PreCommit-YETUS-Build/819/console in case of problems.


> test-patch.sh fails when using a git worktree "repository"
> ----------------------------------------------------------
>
>                 Key: YETUS-710
>                 URL: https://issues.apache.org/jira/browse/YETUS-710
>             Project: Yetus
>          Issue Type: Bug
>            Reporter: Lars Francke
>            Priority: Minor
>         Attachments: YETUS-710.00.patch
>
>
> `test-patch.sh` fails when inside a git worktree repository. That's because it does not contain a `.git` directory (which is what test-patch.sh checks for ) but a `.git` file instead.
> https://stackoverflow.com/questions/2180270/check-if-current-directory-is-a-git-repository
> I don't think we need something super elaborate but at least for me it'd be great if worktrees were supported. If there are no objections I can submit a patch that uses one of the solutions from that SO post.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)