Lars Francke created YETUS-710:
----------------------------------

             Summary: 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


`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)

Reply via email to