jj/lib
Martin von Zweigbergk 1fc19dbbaf working_copy: take initial commit in init() function
The working copy object knows the currently checked out commit ID. It
is set to `None` when the object is initialized. It is also set to
`None` when an existing working copy is loaded. In that case, it's
used only to facilitate lazy loading. However, that means that
`WorkingCopy::current_commit_id()` fails if the working copy has been
initalized but no checkout has been specified. I've never run into
that case, but it's ugly that it can happen. This patch fixes it by
having `WorkingCopy::init()` take a `CommitId`.
2022-01-17 14:12:55 -08:00
..
benches
protos git: start tracking HEAD of underlying Git repo 2021-12-01 11:08:53 -08:00
src working_copy: take initial commit in init() function 2022-01-17 14:12:55 -08:00
tests working_copy: remove current_commit() (leaving current_commit_id() 2022-01-15 17:11:56 -08:00
build.rs
Cargo.toml cargo: upgrade to Rust 2021 (just to stay up to date) 2021-12-13 21:47:00 -08:00