[DRE-commits] [ruby-gollum-rugged-adapter] 01/01: author is committer patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jan 6 15:06:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-gollum-rugged-adapter.

commit f0e32670efd8cdd2bc1836ae7899432ab9e23e5c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Jan 6 20:32:05 2016 +0530

    author is committer patch
---
 debian/changelog                         |  6 ++++++
 debian/patches/author-is-committer.patch | 21 +++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f3c2087..f07ff5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-gollum-rugged-adapter (0.4.1-2) unstable; urgency=medium
+
+  * author-is-committer.patch (Closes: #809812) 
+
+ -- Pirate Praveen <praveen at debian.org>  Wed, 06 Jan 2016 20:31:45 +0530
+
 ruby-gollum-rugged-adapter (0.4.1-1) unstable; urgency=medium
 
   * Initial release (Closes: #807332)
diff --git a/debian/patches/author-is-committer.patch b/debian/patches/author-is-committer.patch
new file mode 100644
index 0000000..5c7d181
--- /dev/null
+++ b/debian/patches/author-is-committer.patch
@@ -0,0 +1,21 @@
+From 10b6da7d175b78a89436400ffd3526e3a4a0e382 Mon Sep 17 00:00:00 2001
+From: Jean Hominal <jhominal at gmail.com>
+Date: Mon, 9 Nov 2015 08:22:12 +0100
+Subject: [PATCH] Set committer to the same actor as author. Resolves #11.
+
+---
+ lib/rugged_adapter/git_layer_rugged.rb | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: ruby-gollum-rugged-adapter/lib/rugged_adapter/git_layer_rugged.rb
+===================================================================
+--- ruby-gollum-rugged-adapter.orig/lib/rugged_adapter/git_layer_rugged.rb
++++ ruby-gollum-rugged-adapter/lib/rugged_adapter/git_layer_rugged.rb
+@@ -452,6 +452,7 @@ module Gollum
+         actor = Gollum::Git::Actor.default_actor if actor.nil?
+         commit_options[:tree] = @index.write_tree
+         commit_options[:author] = actor.to_h
++        commit_options[:committer] = actor.to_h
+         commit_options[:message] = message.to_s
+         commit_options[:parents] = parents
+         commit_options[:update_ref] = head
diff --git a/debian/patches/series b/debian/patches/series
index 356da9e..06aaa12 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 relax-rugged.patch
+author-is-committer.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gollum-rugged-adapter.git



More information about the Pkg-ruby-extras-commits mailing list