Skip to content

"index out of bounds" when calling wslgit without arguments #26

@pe224

Description

@pe224

I sucessfully built the latest version from source (on win).
Simply calling wslgit.exe (no arguments) fails with thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1'

Reason is line 97 as far as I can tell (not a Rust expert), as git_args[1] is out of bounds when wslgit is called with no arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions