aboutsummaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-04-19 11:55:38 +0200
committerJunio C Hamano <gitster@pobox.com>2009-05-10 00:30:28 -0700
commit1c876546bda5dde35d4ae887ad6d24ed16ec953a (patch)
tree1f64c61206188cd288c5b128c42fde94540da7cb /builtin-rev-list.c
parentf01f1099f40f24fe6f7802185340a6fa3a3d4f35 (diff)
downloadgit-1c876546bda5dde35d4ae887ad6d24ed16ec953a.tar.gz
git-1c876546bda5dde35d4ae887ad6d24ed16ec953a.tar.xz
rev-list: make "estimate_bisect_steps" non static
Because it will be used from "bisect.c" too. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r--builtin-rev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 38a8f234d..4c5f5eec0 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -211,7 +211,7 @@ static inline int exp2i(int n)
*
* and P(2^n + x) < 0.5 means 2^n < 3x
*/
-static int estimate_bisect_steps(int all)
+int estimate_bisect_steps(int all)
{
int n, x, e;