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

Already on GitHub? Sign in to your account

Should prevent ENOENT on absence of .git/packed-refs #6

merged 1 commit into from Aug 10, 2012


None yet
3 participants

AvianFlu commented Jun 1, 2011

While attempting to locally test a wheat-based blog from a fresh git clone, I ran into an error similar to that described by @TooTallNate in issue #1, and I have found a way to fix the problem.

Git creates .git/packed-refs on garbage collection, so the file won't exist in a fresh clone. git gc can be run, however, to create the file right away; this patch should check for the existence of .git/packed-refs, and, if the file is absent, call gitExec() to run gc and garbage collect for us.


TooTallNate commented Jun 1, 2011

Strange that this didn't send me an email. @github, what up with that?


AvianFlu commented Jun 1, 2011

There's an option for it in your account settings - seems a likely candidate.

@creationix creationix added a commit that referenced this pull request Aug 10, 2012

@creationix creationix Merge pull request #6 from AvianFlu/master
Should prevent ENOENT on absence of .git/packed-refs

@creationix creationix merged commit 093306d into creationix:master Aug 10, 2012


creationix commented Aug 10, 2012

Published as 0.0.10. Thanks.

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