From 95444e9274cfd5640caf7a5e5a18c24963bd8e77 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Sat, 4 Nov 2023 14:22:39 +0800 Subject: [PATCH] Fix typos and update tools/aspell.dict Found via `make spell-check` --- NEWS.adoc | 6 ++--- src/tig.c | 2 +- tools/aspell.dict | 65 ++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 68 insertions(+), 5 deletions(-) diff --git a/NEWS.adoc b/NEWS.adoc index 4708e5f33..7c7411732 100644 --- a/NEWS.adoc +++ b/NEWS.adoc @@ -85,7 +85,7 @@ Bug fixes: - Fix null dereferences on unset format strings. (#1136, #1159) - Fix invalid read in log_read. (#1128) - Restore support for tig log --graph. (#1128) - - Further fix to fullscreen navigation. + - Further fix to full screen navigation. - Fix blame when opened from an initial diff view. (#1135) - Fix stash view when using tig --all or tig revs. (#1146, #1147) - Avoiding null pointer dereference. (#1096) @@ -140,7 +140,7 @@ Improvements: - Allow maxwidth to be expressed in % of the view width. (#1021) - Pass stash args through. (#1022, #1030) - Make build work on IBM i. (#1051, #1052) - - Restore fullscreen navigation. (#1053) + - Restore full screen navigation. (#1053) - Update utf8proc to v2.6.1. - Add some range so control chars ^^ and ^_ are also supported. (#1041, #1058) - Disable ncurses extended key values so that esc-codes can be used. (#1046, #1049) @@ -361,7 +361,7 @@ Improvements: - Expand tilde ('~') in `:script` paths. (GH #674) - Show single-line output of external command in status bar. (GH #200, #557, #678) - - Disable the graph when `--no-merges` is passed. (GH #687) + - Disable the graph when `--no-merges` is passed. (GH #687) - Print backtraces on segfault in debug mode. - Ignore script lines starting with `#` (comment). (GH #705) - Complete `repo:*` variables when readline is enabled. (GH #702) diff --git a/src/tig.c b/src/tig.c index c8e6786cc..330db5086 100644 --- a/src/tig.c +++ b/src/tig.c @@ -784,7 +784,7 @@ handle_git_prefix(void) /* * GIT_PREFIX is set when tig is invoked as a git alias. * Tig expects to run from the subdirectory so clear the prefix - * and set GIT_WORK_TREE accordinglyt. + * and set GIT_WORK_TREE accordingly. */ if (!getcwd(cwd, sizeof(cwd))) return error("Failed to read CWD"); diff --git a/tools/aspell.dict b/tools/aspell.dict index bd64bef59..993204937 100644 --- a/tools/aspell.dict +++ b/tools/aspell.dict @@ -1,4 +1,4 @@ -personal_ws-1.1 en 320 +personal_ws-1.1 en 383 ACDMRTXB AIX AsciiDoc @@ -6,6 +6,7 @@ AuthorDate BUILTIN BackTab Baudis +Bugfix CFLAGS CJK COLORTERM @@ -14,6 +15,7 @@ Cogito CommitDate Ctrl Cygwin +DHAVE DSSL Debian DocBook @@ -22,6 +24,7 @@ ELinks Esc FIXME Fonseca +FreeBSD Fullwidth GH Geany @@ -36,6 +39,7 @@ LDFLAGS LDLIBS LessThan Linuxbrew +MERCHANTABILITY Makefile Midline NUL @@ -45,8 +49,10 @@ NixOS Nn OSX Online +PCRE PDF PID +POSIX PageDown PageUp Petr @@ -55,16 +61,19 @@ PgUp Pre Preload README +REs Reenable SBack SFwd SHAs SIGHUP +Schange ScrBack ScrFwd ScrollBack ScrollFwd Scrool +Sfoo ShiftDel ShiftDelete ShiftEnd @@ -80,6 +89,7 @@ TMPDIR TODO UI VLINE +WORDEXP XDG XSL XTerm's @@ -88,14 +98,19 @@ Yi Yy ZSH Zsh +aE abspath acked adate adoc +ae +aea alloc altscreen +apk arg args +argv ascii asciidoc aterm @@ -103,10 +118,14 @@ autobuild autoconf automake autoreconf +autoscroll autotools backend backgrounded backtraces +bae +bc +bcc bg bgcolor bindir @@ -117,6 +136,7 @@ cacheinfo cd cdate cdup +ceef charset chdir checksums @@ -134,22 +154,29 @@ concat config configs contrib +cppcheck credentialCache cwd del delim +dereference dereferences dev devel +df diffargs diffstat dir dirs distclean +dk +dnf docbook docext doctype drwxr +eefaa +eg encodings endif enum @@ -157,7 +184,9 @@ env eol erasechar errno +esc extdiff +fbcea fg fgcolor fileargs @@ -171,17 +200,22 @@ gitattributes gitconfig gitk gitlink +glibc goto gui +gz homebrew +htab html iTerm iconv ident +ie ifdef ifndef ignoreSIGHUP inputrc +io jsh keybinding keybindings @@ -192,6 +226,7 @@ lds libexecdir libiconv libncurses +libs lineno linenumber lncursesw @@ -214,29 +249,40 @@ namespace nav ncurses ncursesw +nd netbsd newmode newwin nitro nodelay +noexpandtab nohup noprefix nowarn oldmode optimizations +pacman +pathspec pbcopy +pcre +pcrepattern pgrp +postimages printf +proc qgit reachability readline readline's +realloc rebase rebasing +refdb reflog reflogmsg refname refspec +reimplement renderer repo repos @@ -260,6 +306,7 @@ stdin stdout strchr strftime +strncpy strndup struct subcommand @@ -274,12 +321,15 @@ subshells substring subtrees sudo +sw +symlinks sys sysconfdir tabsize termcap terminfo textconv +th tig tig's tigblob @@ -288,14 +338,21 @@ tigrc tinfo tmp toc +todo togglable +toggleable topo tty +tw txt tz +ui +ul +un unicode unidiff unmerged +unportable unrepresentable unstage unstaged @@ -303,7 +360,10 @@ unstanged untracked usr utf +util utils +vivien +vwprintw waddch waddnstr waitpid @@ -311,10 +371,13 @@ wclear wcwidth wgetch whitespace +wordexp worktree +worktrees wrt xclip xhtml +xlc xmlto xpm xrvt