git-merge: show usage if run without arguments
authorRene Scharfe <redacted>
Sat, 21 Oct 2006 18:51:04 +0000 (20:51 +0200)
committerJunio C Hamano <redacted>
Sun, 22 Oct 2006 19:15:55 +0000 (12:15 -0700)
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-merge.sh

index 5b34b4de99c33a99dfb841795baced8889f74a88..789f4de595d2657c9c348b4d52b47e2c42543ad2 100755 (executable)
@@ -93,6 +93,8 @@ finish () {
        esac
 }
 
+case "$#" in 0) usage ;; esac
+
 rloga=
 while case "$#" in 0) break ;; esac
 do
git clone https://git.99rst.org/PROJECT