From 830ada7f99121657d22015033e8e2b39d0a3e88b Mon Sep 17 00:00:00 2001
From: Marco Villegas <git@marvil07.net>
Date: Tue, 4 Mar 2014 12:42:26 -0500
Subject: [PATCH] Issue #2210595: Makes
 VersioncontrolGitRepositoryHistorySynchronizerDefault::getCommitInterval()
 public.

---
 ...olGitRepositoryHistorySynchronizerDefault.class.php |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/includes/plugins/reposync/VersioncontrolGitRepositoryHistorySynchronizerDefault.class.php b/includes/plugins/reposync/VersioncontrolGitRepositoryHistorySynchronizerDefault.class.php
index 3b2be1e..89bae2b 100644
--- a/includes/plugins/reposync/VersioncontrolGitRepositoryHistorySynchronizerDefault.class.php
+++ b/includes/plugins/reposync/VersioncontrolGitRepositoryHistorySynchronizerDefault.class.php
@@ -540,7 +540,21 @@ class VersioncontrolGitRepositoryHistorySynchronizerDefault implements Versionco
     return $this->syncFull($sync_options);
   }
 
-  protected function getCommitInterval($start, $end) {
+  /**
+   * Retrieves commit hashes in the specified interval.
+   *
+   * @param string $start
+   *   A commit hash or GIT_NULL_REV.
+   * @param string $end
+   *   A commit hash.
+   *
+   * @throws VersioncontrolSynchronizationException
+   *   When $end string is GIT_NULL_REV.
+   *
+   * @return array
+   *   List of git commit hashes.
+   */
+  public function getCommitInterval($start, $end) {
     if ($start == GIT_NULL_REV) {
       // Start as null rev is the same as saying "all revs back to the root"
       $range = $end;
-- 
1.7.10.4

