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

Create objects using go-git #8

Closed
nyancrimew opened this issue Oct 20, 2021 · 2 comments
Closed

Create objects using go-git #8

nyancrimew opened this issue Oct 20, 2021 · 2 comments

Comments

@nyancrimew
Copy link
Owner

Instead of calling out to the git command twice to hash the missing files and then check them out, do the same thing natively using go-git.

I am not sure if this is possible, but it probably should be.

@nyancrimew
Copy link
Owner Author

At the very least i should only call each command once, instead of per file

@nyancrimew
Copy link
Owner Author

Objects are now created fully in go and file metadata is updated from the index directly. This is an immense speed up to the object creation compared to doing it via the git commandline.

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

1 participant