diff options
author | Orgad Shaneh <[email protected]> | 2013-06-06 09:04:41 +0300 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2013-06-10 10:38:23 +0200 |
commit | 96a09204403e22010d003bb3a18dc8464d257d96 (patch) | |
tree | 0ae9230ce4f2b6de0fb0c961015c152c9fea5fd4 /src/plugins/git/gitclient.h | |
parent | 879012a50befe51561767aea6095d4f071b3df06 (diff) |
Git: Use file directory as editor source for files opened inside git dir
* git rev-parse --show-toplevel doesn't work inside git dir.
* Only "Describe (show)" should be available for those files. show
works when running from inside the git dir
Change-Id: If5f3d1af8da2f8d149ac1e03ffd70b530e609557
Reviewed-by: Petar Perisin <[email protected]>
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index 9cfc17773a8..46b19e2ec09 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -136,7 +136,6 @@ public: QString findRepositoryForDirectory(const QString &dir); QString findGitDirForRepository(const QString &repositoryDir) const; - QString findRepositoryForGitDir(const QString &gitDir) const; void diff(const QString &workingDirectory, const QStringList &diffArgs, const QString &fileName); void diff(const QString &workingDirectory, const QStringList &diffArgs, |