threads / patch / 5989

patchgit-merge: show usage if run without arguments

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

## tl;dr

One message between Oct 21, 2006 and Oct 21, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Rene Scharfe· Oct 21, 2006, 18:51 UTC · lore
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Show changes to git-merge.sh +2 −0
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

← back to recent threads