# [PATCH 5/7 v3] commit: add "bisect_replace_all" prototype to "commit.h"

1 messages from 2008-11-08 to 2008-11-08. Participants: Christian Couder.
Thread: https://gitlist.dev/t/16223

## Christian Couder, 2008-11-08 07:50

Subject: [PATCH 5/7 v3] commit: add "bisect_replace_all" prototype to "commit.h"
Message-ID: <20081108085020.d08d9a3f.chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/20081108085020.d08d9a3f.chriscool%40tuxfamily.org

```
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 builtin-rev-list.c |    2 +-
 commit.h           |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 75cc1fc..7cf5f9e 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -637,7 +637,7 @@ static int bisect_replace(const char *refname, const unsigned char *sha1,
 	return 0;
 }
 
-static void bisect_replace_all(void)
+void bisect_replace_all(void)
 {
 	for_each_branch_ref(bisect_replace, NULL);
 }
diff --git a/commit.h b/commit.h
index 3a7b06a..a0ec2a0 100644
--- a/commit.h
+++ b/commit.h
@@ -144,4 +144,6 @@ static inline int single_parent(struct commit *commit)
 
 struct commit_list *reduce_heads(struct commit_list *heads);
 
+void bisect_replace_all(void);
+
 #endif /* COMMIT_H */
-- 
1.6.0.3.619.g9a6a

```
