Skip to content

Make --no-gpg-sign in git backup hook configurable #62

@fdaviddpt

Description

@fdaviddpt

Follow-up from #60.

hooks.d/after_save/50-git-backup.sh passes --no-gpg-sign to avoid hanging on passphrase prompts during background commits. This silently overrides users who have commit.gpgSign = true in their global git config (e.g. hardware key setups).

Proposal: add a config key (e.g. git_backup.gpg_sign, default false) so users with non-interactive signing setups can opt in. Default behavior stays safe for the common case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions