comment/documentation typos
This commit is contained in:
@@ -397,7 +397,7 @@ sub cmdparse {
|
|||||||
}
|
}
|
||||||
if($opt{cmd} eq 'commit' && $opt{a} && $#in == -1){
|
if($opt{cmd} eq 'commit' && $opt{a} && $#in == -1){
|
||||||
# "git commit -a" does multiple things; we only care
|
# "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
|
#XXX this assumes $RS is set properly for Windows - need to check that
|
||||||
my @x = split(/$::RS/,`git ls-files -m`);
|
my @x = split(/$::RS/,`git ls-files -m`);
|
||||||
chomp(@x);
|
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
|
Not all files found are re-written; only those with the attribute
|
||||||
NHSUBST (for inline substitutions) or NH_DATESUB (for template
|
NHSUBST (for inline substitutions) or NH_DATESUB (for template
|
||||||
substitution) are considered; finally those with no substitution
|
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
|
re-written. Unless changed by the options, files that have not
|
||||||
changed are not affected.
|
changed are not affected.
|
||||||
|
|
||||||
@@ -711,7 +711,7 @@ or the changes will be overwritten with the current date.)
|
|||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=head1 SUBSTITUTION VALRIABLES
|
=head1 SUBSTITUTION VARIABLES
|
||||||
|
|
||||||
=over
|
=over
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ BEGIN {
|
|||||||
# Set $is_sourcerepo while we're at it - same logic.
|
# Set $is_sourcerepo while we're at it - same logic.
|
||||||
{
|
{
|
||||||
# Special case for running nhgitset against a different repo.
|
# 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
|
# NB: we use $DEVhooksdir later in the program
|
||||||
$DEVhooksdir = ($0 =~ m!^(.*)$DS!)[0];
|
$DEVhooksdir = ($0 =~ m!^(.*)$DS!)[0];
|
||||||
chomp($DEVhooksdir);
|
chomp($DEVhooksdir);
|
||||||
|
|||||||
Reference in New Issue
Block a user