GitCommandResult (@NotNull GitRepository repository, @NotNull String object) { GitLineHandler h = new GitLineHandler(repository.getProject(), repository.getRoot(), GitCommand.CAT_FILE); h.setSilent(true); h.addParameters("-t", object); return runCommand(h); }