robertgzr / porcelain

a git status parser
MIT License
34 stars 8 forks source link

make package embeddable #10

Closed stevegt closed 3 years ago

stevegt commented 3 years ago

I did some refactoring to make the package embeddable -- essentially move main to cmd/porcelain and export some accessor functions. Depends on my earlier fix_tests PR. You'll want to revert my temporary package paths in imports and go.mod before you merge this PR.

robertgzr commented 3 years ago

Thanks o/