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

enableGitInfo fails if full path of hugo project directory contains a space #3552

Closed
arikroc opened this issue Jun 1, 2017 · 1 comment
Closed

Comments

@arikroc
Copy link

arikroc commented Jun 1, 2017

Previously, if I ran with enableGitInfo

"Got error reading Git log: exit status 128"

Realized my hugo project is in a sub directory and one of the upper level folders had a space in the name.

So I renamed that folder so it had no space in the name.

And presto, it works, perfectly.

So for anyone else that experiences this issue:

Make sure there is no whitespace in the names of any of the folders in the entire folder tree that contains your hugo project directory

More info: https://discuss.gohugo.io/t/enablegitinfo-got-error-reading-git-log-exit-status-128/6749/18

@bep bep changed the title Bug - enableGitInfo fails if full path of hugo project directory contains a space ' ' enableGitInfo fails if full path of hugo project directory contains a space ' ' Jun 2, 2017
@bep bep changed the title enableGitInfo fails if full path of hugo project directory contains a space ' ' enableGitInfo fails if full path of hugo project directory contains a space Jun 12, 2017
@bep bep added this to the v0.23 milestone Jun 12, 2017
@bep bep added the Bug label Jun 12, 2017
@bep bep added the Upstream label Jun 13, 2017
@bep bep closed this as completed in 2d08a29 Jun 13, 2017
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants