repo: Allow empty commit bodies

This commit is contained in:
Colin Walters committed 2011-10-15 00:57:13 -04:00
1 parent 401ab27c11
commit 6f1b880377
1 file changed
+1 -1
+1 -1
View File
@@ -1228,7 +1228,7 @@ hacktree_repo_commit (HacktreeRepo *self,
HACKTREE_COMMIT_VERSION,
create_empty_gvariant_dict (),
priv->current_head ? priv->current_head : "",
subject, body,
subject, body ? body : "",
g_date_time_to_unix (now) / G_TIME_SPAN_SECOND,
g_checksum_get_string (root_checksum));
if (!import_gvariant_object (self, HACKTREE_SERIALIZED_COMMIT_VARIANT,