Page MenuHomePhabricator

The MITK FindGit.cmake script does not check for a proper git repository
Closed, ResolvedPublic


It works on my colleagues notebooks.

Event Timeline

If the working directory for the macros in the FindGit.cmake file is a sub-directory of a Git repository, the GIT_IS_REPO macro successfully checks for an existing Git repository but the GIT_WC_INFO macro fails.

Fixing Git repository check in FindGit.cmake

Updated patch, removed debug message.

[379a2e]: Merge branch 'bug-14920-fix-git-repo-check'

Merged commits:

2013-04-09 16:32:58 Frida Hauler [953c42]
Use a more intelligent check for proper Git directory

New remote branch pushed: bug-14920-fix-git-repo-check