DORMANTno replies

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

From: Christian Couder <hidden>
Date: 2016-06-15 22:45:37
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Christian Couder <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help