← Winnitude! Search  ·  Reader Mode (1287 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 8 LINKS

Add way to get only topmost untracked folders/files · Issue #996 · gitpython-developers/GitPython

Repository navigation

Add way to get only topmost untracked folders/files  #996


New issue

New issue

Closed

Closed
Add way to get only topmost untracked folders/files #996 Labels
Q&A

Description

@BeayemX's profile BeayemX opened on Mar 8, 2020

Let's say I have a new folder with three new files in it.

When I use git status it will show like this:

MyProject/New Folder/

But when I use GitPython's repo.untracked_files it will show like this:

MyProject/New Folder/file_a.txt
MyProject/New Folder/file_b.txt
MyProject/New Folder/file_c.txt

Is there a way to get the same result as the git status version?

Metadata

Metadata

Assignees

No one assigned

    Labels


    Q&A

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions