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 copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
file_util.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
files.rs Rename FileConflictData to ConflictHunk, use it in files.rs. 2022-12-03 15:12:40 -08:00
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 op_heads_store: refactor into an interface and simple implemenation 2022-12-16 10:47:48 -08:00
local_backend.rs git_backend: propagate various errors 2023-01-02 12:28:51 -06:00
lock.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
matchers.rs matchers: rename Dirs to RepoPathTree as it no longer represents directory 2022-12-30 14:15:27 +09:00
nightly_shims.rs build: suppress unstable_name_collisions warnings on stable 2022-02-23 23:41:55 -08:00
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 copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
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 lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
revset.pest revset: parse hg/git-like '^' postfix operator and show hint 2022-12-23 00:38:29 +09:00
revset.rs style: fix typos found by codespell 2023-01-28 07:23:45 -08:00
revset_graph_iterator.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
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 copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
stacked_table.rs cleanup: let new Clippy move variables into format strings 2022-12-14 21:30:58 -08:00
store.rs store: propagate error from Backend::write_commit() 2022-12-26 23:30:52 -08:00
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 copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
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