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: {
|
||||
readInt(in); // obsolete
|
||||
Paths sorted = store->topoSortPaths(readStorePaths<PathSet>(*store, in));
|
||||
reverse(sorted.begin(), sorted.end());
|
||||
store->exportPaths(sorted, out);
|
||||
store->exportPaths(readStorePaths<Paths>(*store, in), out);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue