Skip to content

GitBranchFiles ? #1538

@Sanix-Darker

Description

@Sanix-Darker

This is pretty New and different from GitFiles, let say i want to get changes made on all the files for the current branch am on.
Not talking about GitFiles[?]
But for actually all the files on the current branch that were changed from the base branch.

You can obtain this by using :

  • On Files changed that differs from the base branch : git diff --stat $(git merge-base HEAD origin) --name-only
  • And to get changed per files : <same command as above (witouth "name-only" flag)> --patch -- this_file.py

I have started a draft POC and i was wondering if i can propose a well clean PR for that ?

Metadata

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