[gitg] Add support for creating binary patch
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Add support for creating binary patch
- Date: Sat, 8 Aug 2015 09:41:56 +0000 (UTC)
commit 977cad55764d832c91a7e74ba63bf0f3cffb3058
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sat Aug 8 11:31:50 2015 +0200
Add support for creating binary patch
https://bugzilla.gnome.org/show_bug.cgi?id=719531
gitg/gitg-commit-action-create-patch.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-commit-action-create-patch.vala b/gitg/gitg-commit-action-create-patch.vala
index bf3a789..93f4786 100644
--- a/gitg/gitg-commit-action-create-patch.vala
+++ b/gitg/gitg-commit-action-create-patch.vala
@@ -107,6 +107,8 @@ class CommitActionCreatePatch : GitgExt.UIElement, GitgExt.Action, GitgExt.Commi
opts.n_context_lines = nc;
opts.n_interhunk_lines = nc;
+ opts.flags |= Ggit.DiffOption.SHOW_BINARY;
+
return commit.get_diff(opts, 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]