diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2014-11-11 16:27:23 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2014-11-13 09:10:22 +0100 |
commit | 9605244f6d73aced9ec33eea105030ae23eea896 (patch) | |
tree | ec52b6659c211c36be2c07beecd09b1e2aef9132 /src/plugins/diffeditor/diffeditorcontroller.h | |
parent | e123f5a4d9ec164073d75fd926acadd9d4b2243b (diff) |
DiffEditor: Save description along with diff.
Save complete, git-applicable patch when saving the result of
for example 'git show'. Strips some Creator-specific tags
off the description and reformats the description such
that it is accepted by git.
Change-Id: I739d85a7263f97e2149a2794974ba026f2eca067
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorcontroller.h')
-rw-r--r-- | src/plugins/diffeditor/diffeditorcontroller.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/diffeditor/diffeditorcontroller.h b/src/plugins/diffeditor/diffeditorcontroller.h index b408e9b014..b515e362b8 100644 --- a/src/plugins/diffeditor/diffeditorcontroller.h +++ b/src/plugins/diffeditor/diffeditorcontroller.h @@ -57,6 +57,7 @@ public: bool isIgnoreWhitespace() const; QString makePatch(bool revert, bool addPrefix = false) const; + QString contents() const; DiffEditorReloader *reloader() const; void setReloader(DiffEditorReloader *reloader); |