mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
a95188ddbc
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()`. |
||
---|---|---|
.. | ||
custom-backend | ||
custom-command | ||
custom-global-flag |