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

Add changed file information to snow log #291

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

belkarx
Copy link

@belkarx belkarx commented Jul 21, 2022

Description

Adds info on whether a file has been added/modified in snow log via a --changed-information flag

The output is in JSON, and a status field is added to each TreeFile output in each commit with "added" or "modified" (creating a "deleted" flag proved to be a bit ambiguous in definition and I believe required changes to the underlying commit diffing function [I may be wrong here and just not familiar enough with TS/this codebase to make it work, but either way it didn't happen]).

Fixes #144

Checks

  • [ x ] I added my name to the contributor list in CONTRIBUTORS.md
  • [ x ] I understand that my work will be licensed under the given license of SnowFS
  • [ x ] I am the original author, or I have authorization to submit this work.

Type of change

Please delete options that are not relevant.

  • [ x ] New feature (non-breaking change which adds functionality)
  • [ x ] This change requires a documentation update

@sebastianrath
Copy link
Contributor

@belkarx Thanks so much for the PR. Please give me a few days to review and test this. I'm back in the office next week.

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

Successfully merging this pull request may close these issues.

Add changed file information to snow log
2 participants