]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/diff-parseopts'
authorJunio C Hamano <gitster@pobox.com>
Mon, 19 Dec 2022 02:46:17 +0000 (11:46 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Dec 2022 02:46:17 +0000 (11:46 +0900)
commitab91f6b7c42531406bcca0e48c48530126332142
tree3c77c78905448b44d73eda58d5157156cc669433
parent995916e24f25644987f34b8a8e9392c0150804d8
parent189e97bc4ba8d5f2ab4746d41204feed159fbe9a
Merge branch 'rs/diff-parseopts'

The way the diff machinery prepares the options array for the
parse_options API has been refactored to avoid resource leaks.

* rs/diff-parseopts:
  diff: remove parseopts member from struct diff_options
  diff: use add_diff_options() in diff_opt_parse()
  diff: factor out add_diff_options()
diff.c
diff.h