summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-12-08 09:05:58 +0000
committerPatrick Steinhardt <ps@pks.im>2018-06-10 19:30:40 +0200
commitc8ee52703b18b667981008a1f12fac993dee91ec (patch)
tree6e62015ad475ff40e4f9a62e7809205d60df8f1d /tests/diff/diffiter.c
parent422cd59b7544b8da3b60666a2a1e9a162fd4eaa7 (diff)
downloadlibgit2-c8ee52703b18b667981008a1f12fac993dee91ec.tar.gz
pack: rename `git_packfile_stream_free`
The function `git_packfile_stream_free` frees all state of the packfile stream without freeing the structure itself. This naming makes it hard to spot whether it will try to free the pointer itself or not, causing potential future errors. Due to this reason, we have decided to name a function freeing state without freeing the actual struture a "dispose" function. Rename `git_packfile_stream_free` to `git_packfile_stream_dispose` as a first example following this rule.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions