summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-02 08:51:15 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-02 08:18:42 -0800
commit137e83f7f2595e373be118b724c2fd18db701c98 (patch)
treea46c5fe87ab6b85fe50d8b44525f47abad07f4f1 /core/btdiscovery.cpp
parent136110784ebe2a188ca867bea3a7ff3037281a57 (diff)
downloadsubsurface-137e83f7f2595e373be118b724c2fd18db701c98.tar.gz
Fix file:// handling for git access.
Currently, in is_remote_git_repository(), git URLs of the form "file://..." are recognized as local and the "file://" prefix is removed. The shortened URL is then processed as if it was a remote URL, which of course has to fail. So far so good - this is not a remote repository after all. But the removal of the prefix is not propagated to the calling is_git_repository() function and handling as a local git repository therefore fails likewise. To fix this issue, move removal of the "file://" prefix one level up to the is_git_repository() function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/btdiscovery.cpp')
0 files changed, 0 insertions, 0 deletions