diff --git a/plugins/git4idea/src/git4idea/history/GitLogUtil.java b/plugins/git4idea/src/git4idea/history/GitLogUtil.java index 2f5671cf1c54..82619dd8aa6b 100644 --- a/plugins/git4idea/src/git4idea/history/GitLogUtil.java +++ b/plugins/git4idea/src/git4idea/history/GitLogUtil.java @@ -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);