gogs / git

Package GoGits - Git is a pure Go implementation of Git manipulation.
Apache License 2.0
176 stars 32 forks source link

Parse packed-refs if heads file not found #12

Closed lemmi closed 8 years ago

lemmi commented 8 years ago

if git gc is run, it's possible heads are packed into .git/packed-refs and the files are deleted.

unknwon commented 8 years ago

Thanks!