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

[PATCH] git-merge: show usage if run without arguments

From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Oct 21, 2006, 18:51 UTC
Message-ID
<453A6C18.70206@lsrfire.ath.cx>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
diff --git a/git-merge.sh b/git-merge.sh
index 49c46d5..cb09438 100755
--- a/git-merge.sh
+++ b/git-merge.sh
@@ -93,6 +93,8 @@ finish () {
 	esac
 }
 
+case "$#" in 0) usage ;; esac
+
 rloga=
 while case "$#" in 0) break ;; esac
 do
Message 1 of 1 in “git-merge: show usage if run without arguments”
  1. git-merge: show usage if run without argumentsRene Scharfe, Oct 21, 2006

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.