mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-19 03:58:28 -05:00
dbhub: Improve support for different branches
This adds initial support for handling of different branches. Before this we would always assume we were working with the master branch even if in fact we were not. Now we respect the actual branch name and support checkouts of different branches of the same database.
This commit is contained in:
@@ -79,10 +79,10 @@ private:
|
||||
|
||||
// Helper functions for managing the list of locally available databases
|
||||
void localAssureOpened();
|
||||
QString localAdd(QString filename, QString identity, const QUrl& url, const std::string& new_commit_id);
|
||||
QString localAdd(QString filename, QString identity, const QUrl& url, const std::string& new_commit_id, const std::string& branch);
|
||||
QString localExists(const QUrl& url, QString identity);
|
||||
QString localCheckFile(const QString& local_file);
|
||||
std::string localLastCommitId(QString clientCert, const QUrl& url);
|
||||
std::string localLastCommitId(QString clientCert, const QUrl& url, const std::string& branch);
|
||||
|
||||
// Helper functions for building multi-part HTTP requests
|
||||
void addPart(QHttpMultiPart* multipart, const QString& name, const QString& value) const;
|
||||
|
||||
Reference in New Issue
Block a user