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

Grouse does not work with a site that uses .GitInfo #10

Closed
jasikpark opened this issue Mar 13, 2020 · 3 comments
Closed

Grouse does not work with a site that uses .GitInfo #10

jasikpark opened this issue Mar 13, 2020 · 3 comments
Milestone

Comments

@jasikpark
Copy link

Here's my attempt 😅

% grouse HEAD dev --debug
Computing diff between revisions HEAD (0a7c1e1) and dev (20c9cf1)
Building revision HEAD (0a7c1e1)…
2020/03/13 00:52:58 Checking out HEAD (0a7c1e1) to /var/folders/bj/3d96gjw11tqd9y4ws37mg0sc0000gn/T/grouse-diff963426300/source/0a7c1e1cafe7e81a7e07436b33857e109a52167b…
2020/03/13 00:52:59 …done checking out.
2020/03/13 00:52:59 Running command
> hugo --destination=/var/folders/bj/3d96gjw11tqd9y4ws37mg0sc0000gn/T/grouse-diff963426300/output
(from directory /var/folders/bj/3d96gjw11tqd9y4ws37mg0sc0000gn/T/grouse-diff963426300/source/0a7c1e1cafe7e81a7e07436b33857e109a52167b)
Building sites … ERROR 2020/03/13 00:52:59 Failed to read Git log: fatal: not a git repository (or any of the parent directories): .git
Total in 178 ms
Error: Error building site: logged 1 error(s)
Error: Building at commit HEAD (0a7c1e1) failed: exit status 255

Sounds like #9 might be working on this?

@jasikpark
Copy link
Author

Also #2 apparently... cool that you're working on #9!

@capnfabs
Copy link
Owner

Hey! Sorry for the extremely delayed response on this; I've had my notifications turned off for the last two years, apparently 😅

I just added a test for this; I'll be shipping a new build that works with this feature next week, I think.

@capnfabs
Copy link
Owner

This is now fixed and tested on dev branch; release coming this week.

@capnfabs capnfabs added this to the 0.2 milestone Jun 14, 2020
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