ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
Glen Choo 3418c8ff73 git: add git.auto-local-branch
Add a new git.auto-local-branch config option. When set to false, a
remote-tracking branch imported from Git will not automatically create a
local branch target. This is implemented by a new GitSettings struct
that passes Git-related settings from UserSettings.

This behavior is particularly useful in a co-located jj and Git repo,
because a Git remote might have branches that are not of everyday
interest to the user, so it does not make sense to export them as local
branches in Git. E.g. https://github.com/gitster/git, the maintainer's
fork of Git, has 379 branches, most of which are topic branches kept
around for historical reasons, and Git developers wouldn't be expected
to have local branches for each remote-tracking branch.
2023-01-29 20:17:49 -08:00
..
protos cleanup: update more "checkout" to "working-copy commit" and similar 2023-01-25 11:02:59 -08:00
backend.rs index: make IdIndex store raw bytes, not hex bytes 2023-01-22 12:03:08 +09:00
commit.rs repo: inline single-caller, and surprising, Commit::is_empty() 2023-01-28 15:54:03 -08:00
commit_builder.rs Make change ids in tests repeatable 2023-01-03 23:02:46 -08:00
conflicts.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
content_hash.rs style: do not dereference self to perform pattern-matching 2023-01-14 19:28:24 +01:00
dag_walk.rs dag_walk: delete unused common_ancestor() 2023-01-29 10:42:11 -08:00
diff.rs
file_util.rs
files.rs
git.rs git: add git.auto-local-branch 2023-01-29 20:17:49 -08:00
git_backend.rs git_backend: avoid redoing some steps when retrying in write_commit() 2023-01-17 23:12:50 -08:00
gitignore.rs gitignore: any character can be backslash-escaped 2023-01-16 21:35:54 +01:00
index.rs index: make HexPrefix accessor simply return "min" prefix as bytes slice 2023-01-27 03:37:44 +09:00
index_store.rs index_store: don't look up whole commit when only id is needed 2023-01-29 10:45:03 -08:00
legacy_thrift_op_store.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
lib.rs
local_backend.rs git_backend: propagate various errors 2023-01-02 12:28:51 -06:00
lock.rs
matchers.rs
nightly_shims.rs
op_heads_store.rs refactor: use #[from] on error alternative 2023-01-21 09:46:54 +01:00
op_store.rs style: do not dereference self to perform pattern-matching 2023-01-14 19:28:24 +01:00
operation.rs
proto_op_store.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
refs.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
repo.rs repo: inline single-caller, and surprising, Commit::is_empty() 2023-01-28 15:54:03 -08:00
repo_path.rs
revset.pest
revset.rs style: fix typos found by codespell 2023-01-28 07:23:45 -08:00
revset_graph_iterator.rs
rewrite.rs cleanup: update more "checkout" to "working-copy commit" and similar 2023-01-25 11:02:59 -08:00
settings.rs git: add git.auto-local-branch 2023-01-29 20:17:49 -08:00
simple_op_heads_store.rs simple_op_heads_store: rename storage directory 2023-01-25 09:22:38 -08:00
simple_op_store.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
simple_op_store_model.rs style: do not dereference self to perform pattern-matching 2023-01-14 19:28:24 +01:00
simple_op_store_model.thrift
stacked_table.rs
store.rs
transaction.rs op_heads_store: remove LockedOpHeads 2023-01-20 15:18:08 -08:00
tree.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
tree_builder.rs cargo +nightly clippy --fix --workspace with today's nightly 2023-01-07 15:29:19 -08:00
view.rs
working_copy.rs working_copy: write tree_state file on init 2023-01-29 20:01:22 -08:00
workspace.rs repo: add a specific error type for MutableRepo::check_out() 2023-01-24 12:20:28 -08:00