From bd306ae11810fec81d5b4925f62baf6fd7f3e5c8 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Fri, 18 Dec 2020 14:37:58 -0500 Subject: [PATCH] Style --- src/VCBackend.cpp | 6 +++--- src/VCBackend.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 8f23927e89..13a8265994 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -105,7 +105,7 @@ bool VCS::makeRCSRevision(string const &version, string &revis) const } -bool VCS::checkparentdirs(FileName const & file, std::string const & vcsdir) +bool VCS::checkParentDirs(FileName const & file, std::string const & vcsdir) { FileName dirname = file.onlyPath(); do { @@ -1167,7 +1167,7 @@ SVN::SVN(FileName const & m, Buffer * b) : VCS(b) FileName const SVN::findFile(FileName const & file) { // First we check the existence of repository meta data. - if (!VCS::checkparentdirs(file, ".svn")) { + if (!VCS::checkParentDirs(file, ".svn")) { LYXERR(Debug::LYXVC, "Cannot find SVN meta data for " << file); return FileName(); } @@ -1839,7 +1839,7 @@ GIT::GIT(FileName const & m, Buffer * b) : VCS(b) FileName const GIT::findFile(FileName const & file) { // First we check the existence of repository meta data. - if (!VCS::checkparentdirs(file, ".git")) { + if (!VCS::checkParentDirs(file, ".git")) { LYXERR(Debug::LYXVC, "Cannot find GIT meta data for " << file); return FileName(); } diff --git a/src/VCBackend.h b/src/VCBackend.h index 6d4743b35f..07192d94d7 100644 --- a/src/VCBackend.h +++ b/src/VCBackend.h @@ -105,7 +105,7 @@ public: /// Check the directory of file and all parent directories /// for the existence of repository-info like .git or .svn - static bool checkparentdirs(support::FileName const & file, std::string const & vcsdir); + static bool checkParentDirs(support::FileName const & file, std::string const & vcsdir); protected: /// parse information from the version file -- 2.39.5