Skip to content

tree: initialize the id we use for testing submodule insertions - #4553

Merged
pks-t merged 1 commit into
masterfrom
cmn/tree-write-initialise
Feb 28, 2018
Merged

tree: initialize the id we use for testing submodule insertions#4553
pks-t merged 1 commit into
masterfrom
cmn/tree-write-initialise

Conversation

@carlosmn

Copy link
Copy Markdown
Member

Instead of laving it uninitialized and relying on luck for it to be non-zero,
let's give it a dummy hash so we make valgrind happy (in this case the hash
comes from sha1sum </dev/null.

This is just in the test so it's not that important, but it'd be good to release with a clean valgrind output.

/cc @ethomson @pks-t this should go in before the release

Instead of laving it uninitialized and relying on luck for it to be non-zero,
let's give it a dummy hash so we make valgrind happy (in this case the hash
comes from `sha1sum </dev/null`.
@pks-t pks-t added the backport label Feb 28, 2018
@pks-t

pks-t commented Feb 28, 2018

Copy link
Copy Markdown
Member

I'm ignoring the unrelated badssl failure. This is obviously correct

@pks-t
pks-t merged commit 17bef3b into master Feb 28, 2018
@pks-t pks-t mentioned this pull request Feb 28, 2018
@ethomson
ethomson deleted the cmn/tree-write-initialise branch January 9, 2019 10:21
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.

2 participants