From: Junio C Hamano Date: Tue, 5 May 2026 12:30:04 +0000 (+0900) Subject: Meta/TopicCheck: typofix X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dda228367779b9454c91ae0a0dd8d4992b806abf;p=thirdparty%2Fgit.git Meta/TopicCheck: typofix --- diff --git a/TopicCheck b/TopicCheck index 4e15cb4414..dbf55cd832 100755 --- a/TopicCheck +++ b/TopicCheck @@ -9,7 +9,7 @@ while case "$1" in -*) ;; *) break; esac do case "$1" in --stdin) - stedin=stdin ;; + stdin=stdin ;; *) usage exit 1 ;; @@ -17,6 +17,11 @@ do shift done +case "$#,$stdin" in +0,) + stdin=stdin ;; +esac + section () { printf >&3 "\033]0;%s %s\007" "$*" printf >&3 "# %s %s\n" "$*"