* detect and remove a decoded BOM Signed-off-by: Andrew Thornton <[email protected]> * Restore the previous encoding and BOM * On error keep as UTF-8 Signed-off-by: Andrew Thornton <[email protected]> * create remove BOM function * Deal with LFSed content * Update modules/repofiles/update.go * Fix final LFS bug * Keep LFS sections referring to opts.Content