Don't look recursively for a .git dir
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Mar 2014 21:00:49 +0000 (22:00 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Mar 2014 21:00:49 +0000 (22:00 +0100)
commita24e14992b80df1e1a676dd7d213b9e9992b5d55
tree0560a665f86d515ee788b9f629799565878385d7
parent9fb825b46a6ab188d32ed91f1aca34726aa69781
Don't look recursively for a .git dir

The original GetGitRevisionDescription.cmake script would look for
a .git dir recursively in the parent directories of its invocation;
while a nice feature, it may pick up an unrelated repository if there's
none in the Quassel directory. Because we know exactly where to find
our own .git if it's there at all, we can remove the recursion and
prevent this issue.
cmake/modules/GetGitRevisionDescription.cmake