jj/examples
Martin von Zweigbergk a95188ddbc backend: take commit to write by value and return new value
The internal backend at Google doesn't let you write any value you
want for in the committer field. The `Store` type still caches the
value it attempted to write, which gets a little weird when the
written value is not what we tried to write. We should use the value
the backend actually wrote. However, we don't know if the backend
changed anything without reading the value back, which is often
wasteful. This commit changes the API to return the written value.

I only changed the signature of `write_commit()` for now. Maybe we
should make a similar change to `write_tree()`.
2023-05-12 15:20:44 -07:00
..
custom-backend backend: take commit to write by value and return new value 2023-05-12 15:20:44 -07:00
custom-command cli: wrap transaction started by WorkspaceCommandHelper, borrow helper mutably 2023-01-25 13:31:41 +09:00
custom-global-flag refactor: return ExitCode from CliRunner::run() 2023-01-20 06:42:08 +01:00