forked from mirrors/jj
8ad0a703d4
It's common to normalize an empty directory path as ".". This change unblocks the use of from_relative_path() in edit_sparse(). There are a couple of callers who do to_fs_path(Path::new("")), but they all translate non-directory paths, which should never be empty. |
||
---|---|---|
.. | ||
default_index | ||
lock | ||
protos | ||
backend.rs | ||
commit.rs | ||
commit_builder.rs | ||
conflicts.rs | ||
content_hash.rs | ||
dag_walk.rs | ||
default_submodule_store.rs | ||
diff.rs | ||
extensions_map.rs | ||
file_util.rs | ||
files.rs | ||
fmt_util.rs | ||
fsmonitor.rs | ||
git.rs | ||
git_backend.rs | ||
gitignore.rs | ||
gpg_signing.rs | ||
hex_util.rs | ||
id_prefix.rs | ||
index.rs | ||
lib.rs | ||
local_backend.rs | ||
local_working_copy.rs | ||
lock.rs | ||
matchers.rs | ||
merge.rs | ||
merged_tree.rs | ||
object_id.rs | ||
op_heads_store.rs | ||
op_store.rs | ||
op_walk.rs | ||
operation.rs | ||
refs.rs | ||
repo.rs | ||
repo_path.rs | ||
revset.pest | ||
revset.rs | ||
revset_graph.rs | ||
rewrite.rs | ||
settings.rs | ||
signing.rs | ||
simple_op_heads_store.rs | ||
simple_op_store.rs | ||
ssh_signing.rs | ||
stacked_table.rs | ||
store.rs | ||
str_util.rs | ||
submodule_store.rs | ||
transaction.rs | ||
tree.rs | ||
tree_builder.rs | ||
view.rs | ||
working_copy.rs | ||
workspace.rs |