Skip to content

fix(git): disable outputting gpg signatures for log commands#540

Open
Naxdy wants to merge 1 commit intosindrets:mainfrom
Naxdy:work/fix-log-issue
Open

fix(git): disable outputting gpg signatures for log commands#540
Naxdy wants to merge 1 commit intosindrets:mainfrom
Naxdy:work/fix-log-issue

Conversation

@Naxdy
Copy link

@Naxdy Naxdy commented Nov 4, 2024

The presence of gpg signatures (if log.showsignature=true in git config) within the commit messages screws up parsing in certain situations. Hence, disable them for git log outputs.

Fixes #537

@Naxdy Naxdy force-pushed the work/fix-log-issue branch from 1e61b9e to 47de9ec Compare December 10, 2024 12:18
dlyongemallo pushed a commit to dlyongemallo/diffview.nvim that referenced this pull request Feb 4, 2026
Add --no-show-signature flag to git log and show commands to prevent
GPG signature output from interfering with parsing. This fixes issues
when users have log.showSignature enabled in their git config.

Fixes sindrets#537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] :DiffviewFileHistory % fails in some repos, but not in others.

1 participant