Skip to content

Handle git.timeout For All Git Calls #3278

@alex-courtis

Description

@alex-courtis

git/utils system passes a timeout to vim.system however that timeout is not handled and reported to the user in a friendly manner. It silently stops git operations.

Discovered during #3251 which is hackily resolved by passing the timeout to :wait.

The following are the only users of system and should handle timouts in the same manner as GitRunner:

  • should_show_untracked
  • get_toplevel

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