Skip to content

git branch -vl '*/*' returns nothing #5978

@TechWatching

Description

@TechWatching

Describe the bug

When using the command git branch -vl '*/*' in a folder of a git repository. the command returns nothing.

When using PowerShell to execute the same command, it returns a list of git branches.

How to reproduce

  1. open nushell in a folder a of git repository
  2. execute the command git branch -vl '*/*'

Expected behavior

The command returns the list of branches of the git repository with "/" in them like : feature/1234-myaweomefeature

Screenshots

No response

Configuration

key value
version 0.65.0
branch
commit_hash 390d06d
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.62.0 (a8314ef7d 2022-06-27)
rust_channel stable-x86_64-pc-windows-msvc
cargo_version cargo 1.62.0 (a748cf5a3 2022-06-08)
pkg_version 0.65.0
build_time 2022-07-05 17:33:16 +00:00
build_rust_channel release
features database, dataframe, default, trash, which, zip
installed_plugins

Additional context

It seems to me that the '/' is interpreted by nushell instead of being executed by the git command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:external-commandsIssues related to external commandsA:parserIssues related to parsingcategory:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions