( )⚙ D8971 extdiff: move single file handling inside `not per-file` conditional

This is an archive of the discontinued Mercurial Phabricator instance.

extdiff: move single file handling inside `not per-file` conditional
ClosedPublic

Authored by pulkit on Aug 29 2020, 10:18 AM.

Details

Summary

If --per-file is passed, we will diffing files one by one, hence there is no
need to make this optimization around single file in that case. This
optimization is only required when --per-file is not passed and we will be
opening directory-diff for a single file.

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.

Event Timeline

pulkit created this revision.Aug 29 2020, 10:18 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.