We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey so I was wondering if I can add rename parsing to the tool?
I was thinking we can read rename ... lines and set a boolean files.renamed to true. Willing to make the PR.
rename ...
files.renamed
Perhaps also a field for the similarity index?
Something along the lines of adding this test:
it("should parse rename diff", function () { const diff = `\ diff --git a/test.txt b/text2.txt similarity index 100% rename from test.txt rename to text2.txt `; const files = parse(diff); expect(files.length).toBe(1); const [file] = files; expect(file.from).toBe("test.txt"); expect(file.to).toBe("test2.txt"); expect(file.chunks.length).toBe(0); expect(file.renamed).toBe(true); });
The text was updated successfully, but these errors were encountered:
@alikhamesy all sounds good, please go ahead 😄
Sorry, something went wrong.
No branches or pull requests
Hey so I was wondering if I can add rename parsing to the tool?
I was thinking we can read
rename ...
lines and set a booleanfiles.renamed
to true. Willing to make the PR.Perhaps also a field for the similarity index?
Something along the lines of adding this test:
The text was updated successfully, but these errors were encountered: