forked from lix-project/lix
Remove unnecessary call to topoSortPaths()
exportPaths() already does this.
This commit is contained in:
parent
7a58ad0ef5
commit
ce4d8e3ef8
|
@ -922,9 +922,7 @@ static void opServe(Strings opFlags, Strings opArgs)
|
||||||
|
|
||||||
case cmdExportPaths: {
|
case cmdExportPaths: {
|
||||||
readInt(in); // obsolete
|
readInt(in); // obsolete
|
||||||
Paths sorted = store->topoSortPaths(readStorePaths<PathSet>(*store, in));
|
store->exportPaths(readStorePaths<Paths>(*store, in), out);
|
||||||
reverse(sorted.begin(), sorted.end());
|
|
||||||
store->exportPaths(sorted, out);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue