]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'en/xdiff-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Tue, 14 Oct 2025 19:56:09 +0000 (12:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Oct 2025 19:56:09 +0000 (12:56 -0700)
commit9ff172d0ee65dfea6a8e329ab4363e2afa6dea49
tree8afcdfbc6ac58ecfaa40cfd76eca48f5a7ccfad0
parent243a61d2cffe790ba811f5a7922a7e6a365b2922
parent8b9c5d2e3a38b6e0c2278fe10fe2a4bf34496a9d
Merge branch 'en/xdiff-cleanup'

A lot of code clean-up of xdiff.
Split out of a larger topic.

* en/xdiff-cleanup:
  xdiff: change type of xdfile_t.changed from char to bool
  xdiff: add macros DISCARD(0), KEEP(1), INVESTIGATE(2) in xprepare.c
  xdiff: rename rchg -> changed in xdfile_t
  xdiff: delete chastore from xdfile_t
  xdiff: delete fields ha, line, size in xdlclass_t in favor of an xrecord_t
  xdiff: delete redundant array xdfile_t.ha
  xdiff: delete struct diffdata_t
  xdiff: delete local variables that alias fields in xrecord_t
  xdiff: delete superfluous function xdl_get_rec() in xemit
  xdiff: delete unnecessary fields from xrecord_t and xdfile_t
  xdiff: delete local variables and initialize/free xdfile_t directly
  xdiff: delete static forward declarations in xprepare
xdiff/xutils.c