summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-02-08 17:15:33 +0000
committerPatrick Steinhardt <ps@pks.im>2018-02-08 17:15:33 +0000
commitba4faf6e492fae42fd948be1013dc6d328d5f65a (patch)
treeac65f9f2b01029dc5b266445bb9e0ba8f8ca8446 /tests/diff/diffiter.c
parent2eea5f1cb8a75be997636ebc57c8166f05b324d7 (diff)
downloadlibgit2-ba4faf6e492fae42fd948be1013dc6d328d5f65a.tar.gz
buf_text: remove `offset` parameter of BOM detection function
The function to detect a BOM takes an offset where it shall look for a BOM. No caller uses that, and searching for the BOM in the middle of a buffer seems to be very unlikely, as a BOM should only ever exist at file start. Remove the parameter, as it has already caused confusion due to its weirdness.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions