Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when git’s log.showSignature is enabled #32

Open
cionx opened this issue May 1, 2021 · 1 comment
Open

Error when git’s log.showSignature is enabled #32

cionx opened this issue May 1, 2021 · 1 comment

Comments

@cionx
Copy link

cionx commented May 1, 2021

If the user has configured git with log.showSignature set to true, then gitHeadInfo.gin will also contain the signature information of the latest commit. This will trigger an error during compilation:

(/usr/share/texmf-dist/tex/latex/eso-pic/eso-pic.sty) (./.git/gitHeadInfo.gin

./.git/gitHeadInfo.gin:1: LaTeX Error: Missing \begin{document}.

This problem can be circumvented by also using the flag --no-show-signature when reading the git data via git log.

cionx added a commit to cionx/gitinfo2 that referenced this issue Feb 4, 2022
@josephwright
Copy link

This repository is no longer active: please re-report issues at https://github.com/josephwright/gitinfo2/issues

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

No branches or pull requests

2 participants