diff --git a/DEVEL/hooksdir/nhsub b/DEVEL/hooksdir/nhsub index 7aa183b65..b5b90704b 100644 --- a/DEVEL/hooksdir/nhsub +++ b/DEVEL/hooksdir/nhsub @@ -397,7 +397,7 @@ sub cmdparse { } if($opt{cmd} eq 'commit' && $opt{a} && $#in == -1){ # "git commit -a" does multiple things; we only care - # about modigied files. + # about modified files. #XXX this assumes $RS is set properly for Windows - need to check that my @x = split(/$::RS/,`git ls-files -m`); chomp(@x); @@ -661,7 +661,7 @@ is actually a directory, the program recurses into that directory tree. Not all files found are re-written; only those with the attribute NHSUBST (for inline substitutions) or NH_DATESUB (for template substitution) are considered; finally those with no substitution -variables or no changes due to subtitution variables are not +variables or no changes due to substitution variables are not re-written. Unless changed by the options, files that have not changed are not affected. @@ -711,7 +711,7 @@ or the changes will be overwritten with the current date.) =back -=head1 SUBSTITUTION VALRIABLES +=head1 SUBSTITUTION VARIABLES =over diff --git a/DEVEL/nhgitset.pl b/DEVEL/nhgitset.pl index b20b5c57c..2c4977895 100755 --- a/DEVEL/nhgitset.pl +++ b/DEVEL/nhgitset.pl @@ -43,7 +43,7 @@ BEGIN { # Set $is_sourcerepo while we're at it - same logic. { # Special case for running nhgitset against a different repo. - # Must preceed the normal case! + # Must precede the normal case! # NB: we use $DEVhooksdir later in the program $DEVhooksdir = ($0 =~ m!^(.*)$DS!)[0]; chomp($DEVhooksdir);