Skip to content

"Feature not available for users using GPG" - why, and what can I (as a user) do about it? #3605

Closed Answered by stefanhaller
AndrewSav asked this question in Q&A
Discussion options

You must be logged in to vote

This is after I was asked and entered the commit message, if anything, is this the best place to give this error, not before that?

Yes, this would be nice. It should be easy to do, all it takes is to insert this code

if self.config.UsingGpg() {
	return errors.New(self.Tr.DisabledForGPG)
}

in handlePullPatchIntoNewCommit, before the call to OpenCommitMessagePanel; PRs welcome. (We'd be checking this twice then, which is a bit ugly, but improving the user experience in this way is probably worth it, I'd say.)

Why is feature not available for users using GPG?

Because it's a bit tricky to implement; see this comment in the code.

How to do what I want to do without using GPG?

If it is po…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by AndrewSav
Comment options

You must be logged in to vote
2 replies
@stefanhaller
Comment options

@AndrewSav
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants