This is an archive of the discontinued Mercurial Phabricator instance.

sparse: add comment for an if condition which I tried to refactor
ClosedPublic

Authored by pulkit on Jul 25 2020, 6:03 AM.

Details

Summary

I tried to refactor this if condition and make it part of the if-else above but
tests failed. I decided to add a comment about the check we are doing and why
it's a separate if.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.