You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Mark Bretl (JIRA)" <ji...@apache.org> on 2015/07/27 21:38:04 UTC

[jira] [Created] (GEODE-160) Use '--is-inside-working-tree' to verify Git workspace

Mark Bretl created GEODE-160:
--------------------------------

             Summary: Use '--is-inside-working-tree' to verify Git workspace
                 Key: GEODE-160
                 URL: https://issues.apache.org/jira/browse/GEODE-160
             Project: Geode
          Issue Type: Improvement
          Components: build
    Affects Versions: 1.0.0-incubating
            Reporter: Mark Bretl
            Assignee: Mark Bretl
            Priority: Minor


In order to find out if the working directory is a Git workspace, the build tries to find the '.git' directory and then assumes it is a Git workspace with a working git executable command.

The logic is flawed and the build can use the git command 'git rev-parse --is-inside-working-tree' to figure out both if it has a working git executable and if it is inside a Git workspace.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)