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

[PATCH 5/7] refs: minor style fix

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Jan 23, 2015, 11:08 UTC
Message-ID
<1422011305-4170-1-git-send-email-kuleshovmail@gmail.com>
In-Reply-To
<1422011208-3832-1-git-send-email-kuleshovmail@gmail.com>
Asterisk must be next with variable
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 refs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/refs.h b/refs.h
index 425ecf7..bd8afe2 100644
--- a/refs.h
+++ b/refs.h
@@ -86,7 +86,7 @@ extern int for_each_branch_ref(each_ref_fn, void *);
 extern int for_each_remote_ref(each_ref_fn, void *);
 extern int for_each_replace_ref(each_ref_fn, void *);
 extern int for_each_glob_ref(each_ref_fn, const char *pattern, void *);
-extern int for_each_glob_ref_in(each_ref_fn, const char *pattern, const char* prefix, void *);
+extern int for_each_glob_ref_in(each_ref_fn, const char *pattern, const char *prefix, void *);

 extern int head_ref_submodule(const char *submodule, each_ref_fn fn, void *cb_data);
 extern int for_each_ref_submodule(const char *submodule, each_ref_fn fn, void *cb_data);
--
2.3.0.rc1.275.g028c360
Previous: Alexander KuleshovNext: Alexander Kuleshov
Message 6 of 11 in “Coding style fixes.”
  1. 0/7 Coding style fixes.Alexander Kuleshov, Jan 23, 2015
  2. 1/7 show-branch: minor style fixAlexander Kuleshov, Jan 23, 2015
  3. 2/7 clone: minor style fixAlexander Kuleshov, Jan 23, 2015
  4. 3/7 test-hashmap: minor style fixAlexander Kuleshov, Jan 23, 2015
  5. 4/7 http-backend: minor style fixAlexander Kuleshov, Jan 23, 2015
  6. 5/7 refs: minor style fixAlexander Kuleshov, Jan 23, 2015
  7. 6/7 quote: minor style fixAlexander Kuleshov, Jan 23, 2015
  8. 7/7 fast-import: minor style fixAlexander Kuleshov, Jan 23, 2015
  9. Torsten BögershausenJan 23, 2015
  10. Alexander KuleshovJan 23, 2015
  11. Stefan BellerJan 23, 2015

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.