Skip to content

Prompt will not display untracked files if status.showUntrackedFiles is set to "no" #556

Closed
@TheSned

Description

System Details

  • posh-git version/path: 0.7.2.0 pre0 D:\Documents\WindowsPowerShell\Modules\posh-git
  • PowerShell version: 5.1.16299.251
  • git version 2.16.1.windows.4
  • OS: Microsoft Windows NT 10.0.16299.0

Issue Description

When the status.showUntrackedFiles setting is set to "no", the posh-git prompt will not display untracked files either. It seems like this should either be a setting or should append -uall to the git status command to always include untracked files.

Steps to Reproduce

git init StatusBug
cd StatusBug
git config --local status.showUntrackedFiles no
"Hello, world!" > untracked.txt
Write-VcsStatus

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions