diff --git a/autopatches/ebuild_unpack_post/dev-scm/git/28d39f71134d8cde70096e22c74405f8b2eb05d2.patch b/autopatches/ebuild_unpack_post/dev-scm/git/28d39f71134d8cde70096e22c74405f8b2eb05d2.patch new file mode 100644 index 0000000..52b5a3e --- /dev/null +++ b/autopatches/ebuild_unpack_post/dev-scm/git/28d39f71134d8cde70096e22c74405f8b2eb05d2.patch @@ -0,0 +1,29 @@ +From 28d39f71134d8cde70096e22c74405f8b2eb05d2 Mon Sep 17 00:00:00 2001 +From: Johannes Schindelin +Date: Fri, 9 Sep 2016 14:25:46 +0200 +Subject: [PATCH] git-gui: respect commit.gpgsign again + +As of v2.9.0, `git commit-tree` no longer heeds the `commit.gpgsign` +config setting. This broke committing in Git GUI. + +This fixes https://github.com/git-for-windows/git/issues/850 + +Signed-off-by: Johannes Schindelin +--- + git-gui/lib/commit.tcl | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/git-gui/lib/commit.tcl b/git-gui/lib/commit.tcl +index 60edf99..e3183a6 100644 +--- a/git-gui/lib/commit.tcl ++++ b/git-gui/lib/commit.tcl +@@ -388,6 +388,9 @@ A rescan will be automatically started now. + # -- Create the commit. + # + set cmd [list commit-tree $tree_id] ++ if {[is_config_true commit.gpgsign]} { ++ lappend cmd -S ++ } + foreach p [concat $PARENT $MERGE_HEAD] { + lappend cmd -p $p + } diff --git a/hooks/auto_patch.bash b/hooks/auto_patch.bash index 2c32375..57ed24a 100644 --- a/hooks/auto_patch.bash +++ b/hooks/auto_patch.bash @@ -10,7 +10,7 @@ source ${PALUDIS_EBUILD_DIR}/echo_functions.bash declare -r CONFIG_FILE="/etc/paludis/hooks/configs/auto_patch.conf" -PATCH_DIR="/var/db/paludis/autopatches" +PATCH_DIR="/etc/paludis/autopatches" # Configuration override [[ -f ${CONFIG_FILE} ]] && source ${CONFIG_FILE}