Skip to content
This repository was archived by the owner on Nov 26, 2019. It is now read-only.

added a max_result parameter for fileHistoryWalk #25

Merged
merged 2 commits into from
Mar 27, 2019
Merged

Conversation

spacedragon
Copy link

No description provided.

@@ -317,7 +319,7 @@ describe("Revwalk", function() {
var walker = repo.createRevWalk();
walker.sorting(NodeGit.Revwalk.SORT.TIME);
walker.push(commitOid.tostrS());
return walker.fileHistoryWalk(fileNameB, 5);
return walker.fileHistoryWalk(fileNameB, -1,5);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space

@spacedragon spacedragon merged commit 6286b15 into master Mar 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants