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

[PATCH] symbolic-ref: trivial style fix

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Sep 21, 2013, 16:29 UTC
Message-ID
<1379780993-4190-1-git-send-email-felipe.contreras@gmail.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 builtin/symbolic-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/symbolic-ref.c b/builtin/symbolic-ref.c
index f481959..71286b4 100644
--- a/builtin/symbolic-ref.c
+++ b/builtin/symbolic-ref.c
@@ -47,7 +47,7 @@ int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
 	git_config(git_default_config, NULL);
 	argc = parse_options(argc, argv, prefix, options,
 			     git_symbolic_ref_usage, 0);
-	if (msg &&!*msg)
+	if (msg && !*msg)
 		die("Refusing to perform update with empty message");
 
 	if (delete) {
-- 
1.8.4-fc
Next: Junio C Hamano
Message 1 of 6 in “symbolic-ref: trivial style fix”
  1. symbolic-ref: trivial style fixFelipe Contreras, Sep 21, 2013
  2. Junio C HamanoOct 15, 2013
  3. Jonathan NiederOct 15, 2013
  4. Junio C HamanoOct 15, 2013
  5. Felipe ContrerasOct 16, 2013
  6. Junio C HamanoOct 16, 2013

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.