mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git] readFullDetailsForHashes should do nothing if empty list of hashes is received
If we don't do this check, git provide full history, or error if repository has no commits
This commit is contained in:
@@ -373,6 +373,7 @@ public class GitLogUtil {
|
||||
boolean withFullMergeDiff,
|
||||
boolean preserveOrder,
|
||||
@NotNull DiffRenameLimit renameLimit) throws VcsException {
|
||||
if (hashes.isEmpty()) return;
|
||||
GitLineHandler handler = createGitHandler(project, root, createConfigParameters(includeRootChanges, renameLimit), lowPriorityProcess);
|
||||
sendHashesToStdin(vcs, hashes, handler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user