[gitg/vala] Added email md5 in commit diff request



commit f00497483f628cdb9eb08f1c655928f77605b300
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Wed Jul 11 14:04:05 2012 +0200

    Added email md5 in commit diff request

 libgitg-gtk/gitg-gtk-diff-view-request-diff.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libgitg-gtk/gitg-gtk-diff-view-request-diff.vala b/libgitg-gtk/gitg-gtk-diff-view-request-diff.vala
index 4a327bf..4f871e9 100644
--- a/libgitg-gtk/gitg-gtk-diff-view-request-diff.vala
+++ b/libgitg-gtk/gitg-gtk-diff-view-request-diff.vala
@@ -157,6 +157,9 @@ namespace GitgGtk
 			builder.set_member_name("email");
 			builder.add_string_value(sig.get_email());
 
+			builder.set_member_name("email_md5");
+			builder.add_string_value(Checksum.compute_for_string(ChecksumType.MD5, sig.get_email()));
+
 			builder.set_member_name("time");
 			builder.add_int_value(sig.get_time().to_unix());
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]