summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-10-06 10:52:18 +0200
committerLars Wendler <polynomial-c@gentoo.org>2015-10-06 10:55:08 +0200
commitc93af671949619e8737270347acd5823c2ca89cf (patch)
treeea0e243a03e3c7324306fb6e0abb27194cf406d3 /dev-vcs/git/files
parentx11-plugins/wmppp: missing dep on x11-libs/libdockapp, bug #562330 (diff)
downloadgentoo-c93af671949619e8737270347acd5823c2ca89cf.tar.gz
gentoo-c93af671949619e8737270347acd5823c2ca89cf.tar.bz2
gentoo-c93af671949619e8737270347acd5823c2ca89cf.zip
dev-vcs/git: Bump to versions 2.3.10, 2.4.10 and 2.5.4
Revbumped version 2.6.1 to add a fix for bug #561796 Package-Manager: portage-2.2.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-vcs/git/files')
-rw-r--r--dev-vcs/git/files/git-2.6.0-am_configure_gpg_at_startup.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-2.6.0-am_configure_gpg_at_startup.patch b/dev-vcs/git/files/git-2.6.0-am_configure_gpg_at_startup.patch
new file mode 100644
index 000000000000..bc60708b1d25
--- /dev/null
+++ b/dev-vcs/git/files/git-2.6.0-am_configure_gpg_at_startup.patch
@@ -0,0 +1,52 @@
+From: Renee Margaret McConahy <nepella <at> gmail.com>
+Subject: [PATCH v2] am: configure gpg at startup
+Newsgroups: gmane.comp.version-control.git
+Date: 2015-09-30 17:49:44 GMT (5 days, 14 hours and 45 minutes ago)
+The new builtin am ignores the user.signingkey variable: gpg is being
+called with the committer details as the key ID, which may not be
+correct. git_gpg_config is responsible for handling that variable and is
+expected to be called on initialization by any modules that use gpg.
+
+Perhaps git_gpg_config's functionality ought to be merged into
+git_default_config, but this is simpler and in keeping with the current
+practice.
+
+Signed-off-by: Renee Margaret McConahy <nepella <at> gmail.com>
+---
+
+ builtin/am.c | 13 ++++++++++++-
+ 1 file changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/builtin/am.c b/builtin/am.c
+index 4f77e07..3bd4fd7 100644
+--- a/builtin/am.c
++++ b/builtin/am.c
+ <at> <at> -2208,6 +2208,17 <at> <at> enum resume_mode {
+ RESUME_ABORT
+ };
+
++static int git_am_config(const char *k, const char *v, void *cb)
++{
++ int status;
++
++ status = git_gpg_config(k, v, NULL);
++ if (status)
++ return status;
++
++ return git_default_config(k, v, NULL);
++}
++
+ int cmd_am(int argc, const char **argv, const char *prefix)
+ {
+ struct am_state state;
+ <at> <at> -2308,7 +2319,7 <at> <at> int cmd_am(int argc, const char **argv, const char *prefix)
+ OPT_END()
+ };
+
+- git_config(git_default_config, NULL);
++ git_config(git_am_config, NULL);
+
+ am_state_init(&state, git_path("rebase-apply"));
+
+--
+2.5.3