Page MenuHomePhabricator

commitctx: move a tiny else clause above the very long one
ClosedPublic

Authored by marmoute on Wed, Jul 8, 4:37 AM.

Details

Summary

This is simple to have all the simple case unfold before the 100+ line one. Otherwise it is hard to relate the else to the initial conditionnal.

This is part of a larger refactoring/cleanup of the commitctx code to clarify
and augment the logic gathering metadata useful for copy tracing. The current
code is a tad too long and entangled to make such update easy. We start with
easy and small cleanup.

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.