Files
Patrick Steinhardt 0f31609611 repository: do not interpret all files as gitlinks in discovery
When trying to find a discovery, we walk up the directory
structure checking if there is a ".git" file or directory and, if
so, check its validity. But in the case that we've got a ".git"
file, we do not want to unconditionally assume that the file is
in fact a ".git" file and treat it as such, as we would error out
if it is not.

Fix the issue by only treating a file as a gitlink file if it
ends with "/.git". This allows users of the function to discover
a repository by handing in any path contained inside of a git
repository.
2016-11-14 10:53:08 +01:00
..
2014-05-15 10:56:28 -07:00
2013-11-14 14:05:52 -08:00
2014-07-01 14:40:16 -04:00
2014-02-07 15:43:37 -08:00
2015-03-10 16:49:24 -04:00
2014-05-27 23:36:07 +09:00
2013-11-14 14:05:52 -08:00
2015-03-03 18:35:12 +01:00