Skip to content

Github Copilot CLI runs git periodically #601

@zholobov

Description

@zholobov

Describe the bug

Github Copilot CLI runs git periodically. It looks like it's doing this to update the branch that it displays above the prompt compose field. Git runs slow for me in my repro. And when git runs it creates lock file in the repo. So any other git command or git-based tool I work with while the CLI is in background doing nothing fails with an error most of the times (when the copilot-spawned git is running).

It would be great to have an option to disable the background periodic git running, or disable the branch rendering at all.

Affected version

0.0.354 Commit: 076bd172b

Steps to reproduce the behavior

  1. Run "copilot"
  2. See active processes filtered by "git" and notice how around each 5-10 seconds a new git is spawned
  3. Exit copilot
  4. See that git is no longer spawned periodically

Expected behavior

Have an option to disable branch name rendering in copilot or an option to control periodic polling by setting poll period including turning it off

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions