forked from qt-creator/qt-creator
Git: Speed up diff/show output
* Avoid calling git --version repeatedly * Use VcsManager to find toplevel directory which does caching. Task-number: QTCREATORBUG-6906 Change-Id: Ib9ba94751bbecac686a0e116baeded9b2f6f3d90 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -236,7 +236,7 @@ protected:
|
||||
/* A helper that can be used to locate a file in a diff in case it
|
||||
* is relative. Tries to derive the directory from base directory,
|
||||
* source and version control. */
|
||||
QString findDiffFile(const QString &f, Core::IVersionControl *control = 0) const;
|
||||
QString findDiffFile(const QString &f) const;
|
||||
|
||||
virtual bool canApplyDiffChunk(const DiffChunk &dc) const;
|
||||
// Revert a patch chunk. Default implementation uses patch.exe
|
||||
|
||||
Reference in New Issue
Block a user