> > diff --git a/Documentation/config/branch.adoc b/Documentation/config/branch.adoc > > index c2acd89c99..be9b296bda 100644 > > --- a/Documentation/config/branch.adoc > > +++ b/Documentation/config/branch.adoc > > @@ -106,7 +106,7 @@ for details). > > > > `branch.<name>.deleteMerged`:: > > If set to `false`, branch _<name>_ is exempt from > > - `git branch --delete-merged`. Useful for a topic branch you > > - intend to develop further after an initial round has been > > - merged upstream. Defaults to true. Explicit deletion via > > - `git branch -d` is unaffected. > > + `git branch --delete-merged` and `--delete-integrated`. Useful > > + for a topic branch you intend to develop further after an > > + initial round has been merged upstream. Defaults to true. > > + Explicit deletion via `git branch -d` is unaffected.
> > Does the deleteMerged configuration variable affect the behavior of > the "--delete-integrated" option? Knowing how the feature evolved, > it is understandable to me, but I suspect it won't be natural for > mere mortals. > > Perhaps a single .deleteDone variable that governs both would be > more future-proof, as it anticipates that we may find other ways a > branch becomes "done", other than by getting merged or otherwise > integrated, and when that happens this variable will also deal with > such a new destructive operation.
I thought about this some more, because I'm sketching out a '--delete-merged --remove-worktrees' follow-up, and realized that this will need to be added to two places as well, '--delete-merged' and '--delete-integrated'. So it seems maybe it's better to not have '--delete-integrated' as a separate thing? Should we unify it now when we still have the chance? Harald