diff options
-rw-r--r-- | gentoobrowse-api/service/maintenanceGitOperations.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse-api/service/maintenanceGitOperations.cpp b/gentoobrowse-api/service/maintenanceGitOperations.cpp index 347acff..7e34ab5 100644 --- a/gentoobrowse-api/service/maintenanceGitOperations.cpp +++ b/gentoobrowse-api/service/maintenanceGitOperations.cpp @@ -138,7 +138,7 @@ namespace Gentoo { static ChangeSet - writeChangesToFileList(DB::Connection * db, int64_t repoId, git_repository * repo, const git_oid & last, const git_oid & head); + writeChangesToFileList(int64_t repoId, git_repository * repo, const git_oid & last, const git_oid & head); ChangeSet refreshRepository(DB::Connection * db, Ice::PropertiesPtr properties, Repository & repository) @@ -155,12 +155,12 @@ namespace Gentoo { updateLastCommit->execute(); writeChangeLog(db, repository.repoid, repo.get(), lastCommitOid, headCommitOid); - return writeChangesToFileList(db, repository.repoid, repo.get(), lastCommitOid, headCommitOid); + return writeChangesToFileList(repository.repoid, repo.get(), lastCommitOid, headCommitOid); } AdHocFormatter(FindingChanges, "Finding changes for repository %? with range %?...%?\n"); ChangeSet - writeChangesToFileList(DB::Connection *, int64_t repoId, git_repository * repo, const git_oid & lastCommitOid, const git_oid & headCommitOid) + writeChangesToFileList(int64_t repoId, git_repository * repo, const git_oid & lastCommitOid, const git_oid & headCommitOid) { FindingChanges::write(std::cerr, repoId, lastCommitOid, headCommitOid); auto lastCommit = gitSafeGet(git_commit_lookup, git_commit_free, repo, &lastCommitOid); |