diff options
author | Orgad Shaneh <[email protected]> | 2018-11-10 21:14:21 +0200 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2018-11-12 09:48:25 +0000 |
commit | 92431932e3f70f52cbd16e361f86fa2681bc3093 (patch) | |
tree | 44d8ce14a982d9d98a4cc8c360ea14a4c4a6bd97 /src/plugins/git/gitclient.h | |
parent | e0a1b171f1b71013d0b59902ec136c9e8a9a4642 (diff) |
Git: Show detached HEAD in branches view when applicable
Fixes: QTCREATORBUG-21311
Change-Id: Ia4297d23a965d83ea2814bd1e41f35a3017b8e9b
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index 0d5a149fcd7..2580a911cc2 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -234,7 +234,7 @@ public: QString synchronousTopic(const QString &workingDirectory) const; bool synchronousRevParseCmd(const QString &workingDirectory, const QString &ref, QString *output, QString *errorMessage = nullptr) const; - QString synchronousTopRevision(const QString &workingDirectory); + QString synchronousTopRevision(const QString &workingDirectory, QDateTime *dateTime = nullptr); void synchronousTagsForCommit(const QString &workingDirectory, const QString &revision, QString &precedes, QString &follows) const; bool isRemoteCommit(const QString &workingDirectory, const QString &commit); |