git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 01/10] refs: add "for_each_bisect_ref" function

From
Christian Couder <chriscool@tuxfamily.org>
Date
Mar 26, 2009, 04:55 UTC
Message-ID
<20090326055509.1bc16b28.chriscool@tuxfamily.org>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 refs.c |    5 +++++
 refs.h |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/refs.c b/refs.c
index 8d3c502..2b21148 100644
--- a/refs.c
+++ b/refs.c
@@ -662,6 +662,11 @@ int for_each_remote_ref(each_ref_fn fn, void *cb_data)
 	return do_for_each_ref("refs/remotes/", fn, 13, 0, cb_data);
 }
 
+int for_each_bisect_ref(each_ref_fn fn, void *cb_data)
+{
+	return do_for_each_ref("refs/bisect/", fn, 12, 0, cb_data);
+}
+
 int for_each_rawref(each_ref_fn fn, void *cb_data)
 {
 	return do_for_each_ref("refs/", fn, 0,
diff --git a/refs.h b/refs.h
index 29bdcec..e5d6e80 100644
--- a/refs.h
+++ b/refs.h
@@ -23,6 +23,7 @@ extern int for_each_ref(each_ref_fn, void *);
 extern int for_each_tag_ref(each_ref_fn, void *);
 extern int for_each_branch_ref(each_ref_fn, void *);
 extern int for_each_remote_ref(each_ref_fn, void *);
+extern int for_each_bisect_ref(each_ref_fn, void *);
 
 /* can be used to learn about broken ref and symref */
 extern int for_each_rawref(each_ref_fn, void *);
-- 
1.6.2.1.317.g3d804
Next: Sverre Rabbelier
Message 1 of 12 in “refs: add "for_each_bisect_ref" function”
  1. 01/10 refs: add "for_each_bisect_ref" functionChristian Couder, Mar 26, 2009
  2. Sverre RabbelierMar 26, 2009
  3. Christian CouderMar 26, 2009
  4. Sverre RabbelierMar 26, 2009
  5. Michael J GruberMar 26, 2009
  6. Johannes SchindelinMar 26, 2009
  7. Sverre RabbelierMar 26, 2009
  8. Christian CouderMar 27, 2009
  9. sending patch sets (was: Re: [PATCH 01/10] refs: add "for_each_bisect_ref" function)Julian Phillips, Mar 27, 2009
  10. Christian CouderMar 27, 2009
  11. Johannes SchindelinMar 27, 2009
  12. Christian CouderMar 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.