Fix a spurious bug about a non-update of the internal state when we encode a patch
Fix a spurious bug about a non-update of the internal state when we encode a patch

mirage/ocaml-git,mirage/ocaml-git,mirage/ocaml-git