ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
Yuya Nishihara 8ad0a703d4 repo_path: accept from_relative_path("."), make "".to_fs_path("") return "."
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.
2024-03-28 10:52:51 +09:00
..
default_index index: print a milder "Reindexing..." message on version mismatch 2024-03-18 13:50:14 -07:00
lock
protos
backend.rs
commit.rs
commit_builder.rs repo: delete record_rewritten_commit() 2024-03-25 06:53:14 -07:00
conflicts.rs
content_hash.rs
dag_walk.rs
default_submodule_store.rs
diff.rs
extensions_map.rs
file_util.rs
files.rs clippy: remove some unused code beta clippy/rustc compain about 2024-03-19 18:33:29 -07:00
fmt_util.rs
fsmonitor.rs
git.rs git-push: Display messages from remote 2024-03-23 20:17:04 +08:00
git_backend.rs
gitignore.rs
gpg_signing.rs
hex_util.rs hex_utils: fix typo found by clippy 2024-03-25 21:23:09 -07:00
id_prefix.rs
index.rs index: remove topo_order() which is no longer used 2024-03-17 11:44:41 +09:00
lib.rs
local_backend.rs
local_working_copy.rs workspace: don't lose sparsed-away paths when recovering workspace 2024-03-16 07:30:36 -07:00
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 rewrite: move new_parents() to MutableRepo 2024-03-26 09:50:50 -07:00
repo_path.rs repo_path: accept from_relative_path("."), make "".to_fs_path("") return "." 2024-03-28 10:52:51 +09:00
revset.pest
revset.rs revset: substitute '~(::x)' to 'x..' 2024-03-17 14:50:48 +09:00
revset_graph.rs
rewrite.rs rewrite: exclude already rewritten commits from set to rebase 2024-03-26 09:50:50 -07:00
settings.rs log: encode elided node as None 2024-03-24 10:32:15 +09:00
signing.rs
simple_op_heads_store.rs
simple_op_store.rs
ssh_signing.rs
stacked_table.rs
store.rs
str_util.rs lib: improve error message for invalid string pattern, suggesting to use one of the known one 2024-03-16 14:22:16 +01:00
submodule_store.rs
transaction.rs
tree.rs
tree_builder.rs
view.rs
working_copy.rs workspace: don't lose sparsed-away paths when recovering workspace 2024-03-16 07:30:36 -07:00
workspace.rs