jj/lib/src
Evan Mesterhazy bbd9c7c7cb Implement advance-branches for jj commit
## Feature Description

If enabled in the user or repository settings, the local branches pointing to the
parents of the revision targeted by `jj commit` will be advanced to the newly
created commit. Support for `jj new` will be added in a future change.

This behavior can be enabled by default for all branches by setting
the following in the config.toml:

```
[experimental-advance-branches]
enabled-branches = ["glob:*"]
```

Specific branches can also be disabled:
```
[experimental-advance-branches]
enabled-branches = ["glob:*"]
disabled-branches = ["main"]
```

Branches that match a disabled pattern will not be advanced, even if they also
match an enabled pattern.

This implements feature request #2338.
2024-04-20 10:26:04 -04:00
..
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
dsl_util.rs
extensions_map.rs
file_util.rs
files.rs
fileset.pest
fileset.rs
fileset_parser.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 Implement advance-branches for jj commit 2024-04-20 10:26:04 -04:00
working_copy.rs
workspace.rs