summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndras Timar <atimar@novell.com>2011-04-19 18:42:53 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-26 20:20:33 +0200
commit382eea66dd65cc9952cae04abc69e0e623db5aeb (patch)
treeef1d4b556f7dc7f887345a0ba18e480067ca6c7e /bin
parent6ad7cdc5a964c4832b30aba5fad1bc799e6c1b0b (diff)
fix typos in messages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lo-commit-stat16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 132b9a87bba6..2b5b9b8000e5 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -39,7 +39,7 @@ sub search_bugs($$$$)
$line =~ s/\s*-\s*$bug_orig\s*//;
$line =~ s/\(?$bug_orig\)?[:,]?\s*//;
- # bnc# is prefered over n# for novell bugs
+ # bnc# is preferred over n# for novell bugs
$bug =~ s/^n\#/bnc#/;
# save the bug number
%{$pdata->{$piece}{$commit_id}{'bugs'}} = () if (! defined %{$pdata->{$piece}{$commit_id}{'bugs'}});
@@ -120,7 +120,7 @@ sub load_git_log($$$$$)
}
$line = search_bugs($pdata, $piece, $commit_id, $line);
- # FIXME: need to be implemeted
+ # FIXME: need to be implemented
# search_keywords($pdata, $line);
unless (defined $pdata->{$piece}{$commit_id}{'summary'}) {
@@ -203,7 +203,7 @@ sub open_log_file($$$$)
if (-f $logfilename) {
print "WARNING: The log file already exists: $logfilename\n";
- print "Do you want to ovewrite it? (Y/n)?\n";
+ print "Do you want to overwrite it? (Y/n)?\n";
my $answer = <STDIN>;
chomp $answer;
$answer = "y" unless ($answer);
@@ -258,7 +258,7 @@ sub print_stat($$$)
my ($pdata, $pprint_filters, $log) = @_;
foreach my $piece ( sort { $a cmp $b } keys %{$pdata}) {
- # check if this peice has any entries at all
+ # check if this piece has any entries at all
my $piece_title = "+ $piece";
if ( %{$pdata->{$piece}} ) {
my $old_summary="";
@@ -305,10 +305,10 @@ sub usage()
"Options:\n" .
" --help print this help\n" .
" --no-pieces read changes just from the main repository, ignore other cloned repos\n" .
- " --piece=<piece> summarize just chnages from the given piece\n" .
+ " --piece=<piece> summarize just changes from the given piece\n" .
" --log-suffix=<string> suffix of the log file name; the result will be\n" .
" commit-log-<branch>-<log-name-suffix>.log; the branch name\n" .
- " is detected autoamtically\n" .
+ " is detected automatically\n" .
" --bugs print just bug fixes\n" .
" --rev-list use \"git rev-list\" instead of \"git log\"; useful to check\n" .
" differences between branches\n" .
@@ -317,7 +317,7 @@ sub usage()
" git_arg extra parameters passed to the git command to define\n" .
" the area of interest; The default command is \"git log\" and\n" .
" parameters might be, for example, --after=\"2010-09-27\" or\n" .
- " TAG..HEAD; with the option --rev-list, useful might be, for,\n" .
+ " TAG..HEAD; with the option --rev-list, useful might be, for\n" .
" example origin/master ^origin/libreoffice-3-3\n";
}
@@ -366,7 +366,7 @@ foreach my $arg (@ARGV) {
$git_command .= " " . join ' ', @git_args if (@git_args);
-(defined $top_dir) || die "Error: top direcotry is not defined\n";
+(defined $top_dir) || die "Error: top directory is not defined\n";
(-d "$top_dir") || die "Error: not a directory: $top_dir\n";
(-f "$top_dir/.git/config") || die "Error: can't find $top_dir/.git/config\n";