mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Update new util method: add support of preserverOrder
This commit is contained in:
committed by
Nikolay Rykunov
parent
f8a956f514
commit
975fb129da
@@ -376,7 +376,7 @@ public class GitLogUtil {
|
||||
boolean includeRootChanges,
|
||||
boolean lowPriorityProcess,
|
||||
@NotNull DiffRenameLimit renameLimit) throws VcsException {
|
||||
readFullDetailsForHashes(project, root, vcs, commitConsumer, hashes, includeRootChanges, lowPriorityProcess, true, renameLimit);
|
||||
readFullDetailsForHashes(project, root, vcs, commitConsumer, hashes, includeRootChanges, lowPriorityProcess, true, false, renameLimit);
|
||||
}
|
||||
|
||||
public static void readFullDetailsForHashes(@NotNull Project project,
|
||||
@@ -387,12 +387,13 @@ public class GitLogUtil {
|
||||
boolean includeRootChanges,
|
||||
boolean lowPriorityProcess,
|
||||
boolean withFullMergeDiff,
|
||||
boolean preserverOrder,
|
||||
@NotNull DiffRenameLimit renameLimit) throws VcsException {
|
||||
GitLineHandler handler =
|
||||
createGitHandler(project, root, createConfigParameters(true, includeRootChanges, renameLimit), lowPriorityProcess);
|
||||
sendHashesToStdin(vcs, hashes, handler);
|
||||
|
||||
readFullDetailsFromHandler(project, root, commitConsumer, renameLimit, handler, false, withFullMergeDiff,
|
||||
readFullDetailsFromHandler(project, root, commitConsumer, renameLimit, handler, preserverOrder, withFullMergeDiff,
|
||||
getNoWalkParameter(vcs), STDIN);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user