While generating TOC and injecting it to the target file with command adr-log -d "adr" -i "index.md" additional new line is added every time after <!-- adrlogstop --><!-- adrlogstop -->. In the end even if there is no changes in ADR TOC, still the target file is reported as changed by git because of this additional empty line(s).