genotrance / nimgen

Nimgen is a helper for c2nim to simplify and automate the wrapping of C libraries
MIT License
114 stars 11 forks source link

Add a per-file git reset capability #10

Closed genotrance closed 6 years ago

genotrance commented 6 years ago

Undo any major changes that break the original C code.

jyapayne commented 6 years ago

I like this idea and it would probably be useful for other libs. It would be super easy to implement as well with a modification to the gitReset function to take in an argument for the file path.

jyapayne commented 6 years ago

I added a proc called gitCheckout(filename: string) for PR #19, which is most of the work. Just a new command needs to be added now.

genotrance commented 6 years ago

Delivered in latest build.