Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New parser for parsing the output of git diff --name-status #497

Open
kellyjonbrazil opened this issue Dec 16, 2023 Discussed in #397 · 0 comments
Open

New parser for parsing the output of git diff --name-status #497

kellyjonbrazil opened this issue Dec 16, 2023 Discussed in #397 · 0 comments

Comments

@kellyjonbrazil
Copy link
Owner

Discussed in #397

Originally posted by kishaningithub April 27, 2023
The git diff --name-status main..<<branch>> gives the output in the format

R100    README.md       README_now.md
M       bootstrap/bootstrap.sh
D       configs/sample.json
A       scripts/status.py

if you look at above the command gives output which says

  • The type of change in the file viz Added, Modified, Deleted, Renamed (there are also ones like file type changed etc)
  • The full file path

It would be great to have this outputted as a json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant