-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/cuetxtar: simplify ordering
Instead of reconstructing the order, now simply mark the order of new files to be that of files they are related too. This simplifies the code and actually results in a more precise ordering. Note that since we add new files first, derivative files will be added before their related files. This mimics the behavior we had so far. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I97553dcc7ebfb984bdef22a1b1925fbd0e866b1d Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199804 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Matthew Sackman <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters