Skip to content

auto-track-bookmarks doesn't affect imported local bookmarks #8516

@senekor

Description

@senekor

Description

The config option remotes.<name>.auto-track-bookmarks is only applied to local bookmarks created via jj (bookmark create & set). It is not applied to local bookmarks created via git when importing from an underlying git repo.

Steps to Reproduce the Problem

  1. Configure remotes.<name>.auto-track-bookmarks to track stuff.
  2. Run git branch <name> where the branch name matches the auto-track config.
  3. Run jj log and observe that the imported bookmark is not auto-tracked.

Expected Behavior

Local bookmarks imported from a git repo should be affected by the auto-track configuration.

Specifications

  • Platform: x86_64-unknown-linux-gnu
  • Version: jj 0.36.0-70fd8f7697fbc20a9329a6e2f790ef86a8e284d1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions