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

[PATCH] ref-filter: fix indentation

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Jul 29, 2015, 15:52 UTC
Message-ID
<1438185150-31730-1-git-send-email-Matthieu.Moy@imag.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
This is meant to be applied on top of kn/for-each-ref.
 ref-filter.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ref-filter.c b/ref-filter.c
index 43502a4..3fbbbeb 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -868,8 +868,8 @@ static int ref_filter_handler(const char *refname, const struct object_id *oid,
 	struct ref_array_item *ref;
 
 	if (flag & REF_BAD_NAME) {
-		  warning("ignoring ref with broken name %s", refname);
-		  return 0;
+		warning("ignoring ref with broken name %s", refname);
+		return 0;
 	}
 
 	if (*filter->name_patterns && !match_name_as_path(filter->name_patterns, refname))
-- 
2.5.0.rc0.7.ge1edd74.dirty
Next: Karthik Nayak
Message 1 of 4 in “ref-filter: fix indentation”
  1. ref-filter: fix indentationMatthieu Moy, Jul 29, 2015
  2. Karthik NayakJul 29, 2015
  3. Junio C HamanoJul 29, 2015
  4. Matthieu MoyJul 29, 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.