ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Yuya Nishihara 337dcef6ee commit_builder: add public interface that writes temporary commit to store
In order to render description template, we'll need a Commit object that
represents the old state (with new tree and parents) before updating the
commit description. The added functions will help generate an intermediate
Commit object.

Alternatively, we can create an in-memory Commit object with some fake
CommitId. It should be lightweight, but might cause weird issue because the
fake id wouldn't be found in the store.

I think it's okay to write a temporary commit and rely on GC as we do for
merge trees. However, I should note that temporary commits are more likely to
be preserved as they are pinned by no-gc refs until "jj util gc".
2024-07-23 18:22:40 +09:00
..
benches
gen-protos
proc-macros cargo: explicitly indicate paths to publish 2024-04-15 20:37:00 -07:00
src commit_builder: add public interface that writes temporary commit to store 2024-07-23 18:22:40 +09:00
tests str_util: add regex pattern 2024-07-22 12:00:52 +09:00
testutils copy-tracking: stub get_copy_records 2024-07-03 20:26:30 -04:00
Cargo.toml cargo: add "bstr" dependency 2024-07-14 23:26:29 +09:00
LICENSE