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

[jira] [Assigned] (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:all-tabpanel ]

Allen Wittenauer reassigned YETUS-710:
--------------------------------------

    Assignee: Lars Francke

> 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
>            Assignee: 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)