Re: [PATCH] scripts: Fix typo in commit-msg git-hook script

2022-01-12 Thread Pádraig Brady

On 12/01/2022 18:30, Daniel Knittl-Frank wrote:

Commit 2f438fa9f53250fb3c8b39a95eedd627b5569ca4 (basenc: A new program
complementary to base64/base32) introduced a typo in the list of allowed
commit message prefixes, accidentally changing "basename" to
"nbasename". Revert it back to the correct "basename".
---
  scripts/git-hooks/commit-msg | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg
index 7a99e45aa..8b0655920 100755
--- a/scripts/git-hooks/commit-msg
+++ b/scripts/git-hooks/commit-msg
@@ -14,7 +14,7 @@ $editor = "vi" if $? != 0 or $editor =~ /^\s*\z/;
  # Keywords allowed before the colon on the first line of a commit message:
  # program names and a few general category names.
  my @valid = qw(
-arch b2sum base32 base64 basenc nbasename cat chcon chgrp chmod chown
+arch b2sum base32 base64 basenc basename cat chcon chgrp chmod chown
  chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo
  env expand expr factor false fmt fold groups head hostid hostname id
  install join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp



pushed.

thank you



[PATCH] scripts: Fix typo in commit-msg git-hook script

2022-01-12 Thread Daniel Knittl-Frank
Commit 2f438fa9f53250fb3c8b39a95eedd627b5569ca4 (basenc: A new program
complementary to base64/base32) introduced a typo in the list of allowed
commit message prefixes, accidentally changing "basename" to
"nbasename". Revert it back to the correct "basename".
---
 scripts/git-hooks/commit-msg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg
index 7a99e45aa..8b0655920 100755
--- a/scripts/git-hooks/commit-msg
+++ b/scripts/git-hooks/commit-msg
@@ -14,7 +14,7 @@ $editor = "vi" if $? != 0 or $editor =~ /^\s*\z/;
 # Keywords allowed before the colon on the first line of a commit message:
 # program names and a few general category names.
 my @valid = qw(
-arch b2sum base32 base64 basenc nbasename cat chcon chgrp chmod chown
+arch b2sum base32 base64 basenc basename cat chcon chgrp chmod chown
 chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo
 env expand expr factor false fmt fold groups head hostid hostname id
 install join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp
-- 
2.34.1.507.gab3589c7fd