ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/testutils
Martin von Zweigbergk e1f00d9426 working copy: pass commit instead of tree into check_out()
Our internal working copy implementations at Google will need the
commit so they can walk history backwards until they get to a "public"
commit. They'll then use that to tell build tools and virtual file
systems to present that as a base.

I'm not sure if we'll need to update `reset()` too. It's currently
only used by `jj untrack`, which doesn't change the commit's parent,
so it wouldn't affect any history walks.
2023-10-16 22:33:44 -07:00
..
src working copy: pass commit instead of tree into check_out() 2023-10-16 22:33:44 -07:00
Cargo.toml