-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat: Add cid support for allCommits #857
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #857 +/- ##
===========================================
+ Coverage 59.72% 59.74% +0.02%
===========================================
Files 155 155
Lines 17332 17341 +9
===========================================
+ Hits 10351 10361 +10
+ Misses 6047 6046 -1
Partials 934 934
|
@@ -173,6 +173,18 @@ func (p *Planner) commitSelectBlock(parsed *mapper.CommitSelect) (*commitSelectN | |||
func (p *Planner) commitSelectAll(parsed *mapper.CommitSelect) (*commitSelectNode, error) { | |||
dag := p.DAGScan(parsed) | |||
headset := p.HeadScan(parsed) | |||
|
|||
if parsed.Cid != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: pasted from an above function, this can be improved in #858 once things are simpler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet!
@@ -173,6 +173,18 @@ func (p *Planner) commitSelectBlock(parsed *mapper.CommitSelect) (*commitSelectN | |||
func (p *Planner) commitSelectAll(parsed *mapper.CommitSelect) (*commitSelectNode, error) { | |||
dag := p.DAGScan(parsed) | |||
headset := p.HeadScan(parsed) | |||
|
|||
if parsed.Cid != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet!
5907ee0
to
66b2566
Compare
Relevant issue(s)
Resolves #840
Description
Adds cid support for allCommits. Let me know if you dont want this in 0.3.1
Specify the platform(s) on which this was tested: