libgit2-racket / libgit2

Low-level Racket bindings for the libgit2 C library
https://pkgs.racket-lang.org/package/libgit2
MIT License
3 stars 2 forks source link

Allow null git_diff_opts #7

Open kengruven opened 1 year ago

kengruven commented 1 year ago

All libgit2 functions which take a git_diff_opts also allow NULL ("default values"). This change should allow Racket callers to pass #f here, too.

Possible first steps to fixing #4.

kengruven commented 11 months ago

Any comments? The git diff family of commands seem unusable from libgit2-racket right now without something like this.