ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Evan Mesterhazy 875eec6569 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 09:03:50 -04:00
..
benches
gen-protos
proc-macros
src Implement advance-branches for jj commit 2024-04-20 09:03:50 -04:00
tests
testutils
Cargo.toml
LICENSE