* [PATCH] git-gui: respect commit.gpgsign again
@ 2016-09-09 12:28 Johannes Schindelin
2016-09-09 18:29 ` Junio C Hamano
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2016-09-09 12:28 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Pat Thoyts
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 <johannes.schindelin@gmx.de>
---
Published-As: https://github.com/dscho/git/releases/tag/git-gui-gpgsign-v1
Fetch-It-Via: git fetch https://github.com/dscho/git git-gui-gpgsign-v1
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 864b687..01d2cc2 100644
--- a/git-gui/lib/commit.tcl
+++ b/git-gui/lib/commit.tcl
@@ -369,6 +369,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
}
--
2.10.0.windows.1.10.g803177d
base-commit: 6ebdac1bab966b720d776aa43ca188fe378b1f4b
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] git-gui: respect commit.gpgsign again
2016-09-09 12:28 [PATCH] git-gui: respect commit.gpgsign again Johannes Schindelin
@ 2016-09-09 18:29 ` Junio C Hamano
2016-09-10 7:05 ` Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2016-09-09 18:29 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git, Pat Thoyts
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
> As of v2.9.0, `git commit-tree` no longer heeds the `commit.gpgsign`
> config setting. This broke committing in Git GUI.
Thanks. Will shift it up to apply to my copy of git-gui project and
then pull in the result.
> git-gui/lib/commit.tcl | 3 +++
> 1 file changed, 3 insertions(+)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] git-gui: respect commit.gpgsign again
2016-09-09 18:29 ` Junio C Hamano
@ 2016-09-10 7:05 ` Johannes Schindelin
2016-09-11 21:52 ` Junio C Hamano
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2016-09-10 7:05 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Pat Thoyts
Hi Junio,
On Fri, 9 Sep 2016, Junio C Hamano wrote:
> Johannes Schindelin <johannes.schindelin@gmx.de> writes:
>
> > As of v2.9.0, `git commit-tree` no longer heeds the `commit.gpgsign`
> > config setting. This broke committing in Git GUI.
>
> Thanks. Will shift it up to apply to my copy of git-gui project and
> then pull in the result.
Thanks. There are a couple more git-gui patches waiting for quite a long
time. So you prefer them still as patches to git-gui.git?
Also, I just noticed poor wording. Would you mind fixing it up by
s/committing/& with GPG signature/
?
Thanks,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] git-gui: respect commit.gpgsign again
2016-09-10 7:05 ` Johannes Schindelin
@ 2016-09-11 21:52 ` Junio C Hamano
2016-09-12 8:14 ` Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2016-09-11 21:52 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git, Pat Thoyts
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Thanks. There are a couple more git-gui patches waiting for quite a long
> time. So you prefer them still as patches to git-gui.git?
I prefer not to have to worry about them myself ;-) That means that
even if Pat steps down, the next maintainer for git-gui project
would not be me, so I wouldn't be making a unilateral decision to
re-root git-gui.git project one-level down.
> Also, I just noticed poor wording. Would you mind fixing it up by
>
> s/committing/& with GPG signature/
Ouch, I didn't notice. It's not in 'next' yet, so let me see if I
can futz with the history.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] git-gui: respect commit.gpgsign again
2016-09-11 21:52 ` Junio C Hamano
@ 2016-09-12 8:14 ` Johannes Schindelin
0 siblings, 0 replies; 5+ messages in thread
From: Johannes Schindelin @ 2016-09-12 8:14 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Pat Thoyts
Hi Junio,
On Sun, 11 Sep 2016, Junio C Hamano wrote:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > Thanks. There are a couple more git-gui patches waiting for quite a long
> > time. So you prefer them still as patches to git-gui.git?
>
> I prefer not to have to worry about them myself ;-) That means that
> even if Pat steps down, the next maintainer for git-gui project
> would not be me, so I wouldn't be making a unilateral decision to
> re-root git-gui.git project one-level down.
Makes sense.
> > Also, I just noticed poor wording. Would you mind fixing it up by
> >
> > s/committing/& with GPG signature/
>
> Ouch, I didn't notice. It's not in 'next' yet, so let me see if I
> can futz with the history.
Thank you!
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-09-12 8:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 12:28 [PATCH] git-gui: respect commit.gpgsign again Johannes Schindelin
2016-09-09 18:29 ` Junio C Hamano
2016-09-10 7:05 ` Johannes Schindelin
2016-09-11 21:52 ` Junio C Hamano
2016-09-12 8:14 ` Johannes Schindelin
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).