Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-710

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • Precommit
    • None

    Description

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

      Attachments

        1. YETUS-710.00.patch
          0.7 kB
          Lars Francke

        Activity

          People

            larsfrancke Lars Francke
            larsfrancke Lars Francke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: