It can be surprising for callers to stash pending changes, commit, get a failure, then set some other pending changes, commit again, and get another failure because of the previously-pending changes. Instead, make commit reset the pending state on failure.master
parent
06a13203dd
commit
33127c545b
Loading…
Reference in new issue