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

Allow null git_diff_opts #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions libgit2/include/diff.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
git_diff_free)

(define-libgit2/alloc git_diff_index_to_workdir
(_fun _git_diff _git_repository _git_index _git_diff_opts-pointer -> _int)
(_fun _git_diff _git_repository _git_index _git_diff_opts-pointer/null -> _int)
git_diff_free)

(define-libgit2 git_diff_options_init
Expand Down Expand Up @@ -311,17 +311,17 @@
(_fun (_git_buf/bytes-or-null) _git_diff _git_diff_format_t -> _int))

(define-libgit2/alloc git_diff_tree_to_index
(_fun _git_diff _git_repository _git_tree _git_index _git_diff_opts-pointer -> _int)
(_fun _git_diff _git_repository _git_tree _git_index _git_diff_opts-pointer/null -> _int)
git_diff_free)

(define-libgit2/alloc git_diff_tree_to_tree
(_fun _git_diff _git_repository _git_tree _git_tree _git_diff_opts-pointer -> _int)
(_fun _git_diff _git_repository _git_tree _git_tree _git_diff_opts-pointer/null -> _int)
git_diff_free)

(define-libgit2/alloc git_diff_tree_to_workdir
(_fun _git_diff _git_repository _git_tree _git_diff_opts-pointer -> _int)
(_fun _git_diff _git_repository _git_tree _git_diff_opts-pointer/null -> _int)
git_diff_free)

(define-libgit2/alloc git_diff_tree_to_workdir_with_index
(_fun _git_diff _git_repository _git_tree _git_diff_opts-pointer -> _int)
(_fun _git_diff _git_repository _git_tree _git_diff_opts-pointer/null -> _int)
git_diff_free)