Skip to content

Commit c629070

Browse files
authored
fix: fix typos (#2092)
1 parent 5cff322 commit c629070

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!---
22
Thank you for contributing to GitUI! Please fill out the template below, and remove or add any
3-
information as you feel neccesary.
3+
information as you feel necessary.
44
--->
55

66
This Pull Request fixes/closes #{issue_num}.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ These defaults require some adoption from existing users but feel more natural t
2727

2828
#### key binding bitflags
2929

30-
Modfiers like `SHIFT` or `CONTROL` are no longer configured via magic bitflags but via strings thanks to changes in the [bitflags crate](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md#changes-to-serde-serialization) we depend on. Please see [KEY_CONFIG.md](./KEY_CONFIG.md) or [vim_style_key_config.ron](./vim_style_key_config.ron) for more info and examples.
30+
Modifiers like `SHIFT` or `CONTROL` are no longer configured via magic bitflags but via strings thanks to changes in the [bitflags crate](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md#changes-to-serde-serialization) we depend on. Please see [KEY_CONFIG.md](./KEY_CONFIG.md) or [vim_style_key_config.ron](./vim_style_key_config.ron) for more info and examples.
3131

3232
### Added
3333
* support for new-line in text-input (e.g. commit message editor) [[@pm100]](https://github/pm100) ([#1662](https://github.com/extrawurst/gitui/issues/1662)).

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ All contain a single binary file
223223
- perl >= 5.12 (strawberry perl works for windows https://strawberryperl.com/)
224224
- a c compiler (msvc, gcc or clang, cargo will find it)
225225

226-
- To run the complete test suite python is required (and it must be invokable as `python`)
226+
- To run the complete test suite python is required (and it must be invocable as `python`)
227227

228228
### Cargo Install
229229

@@ -233,7 +233,7 @@ The simplest way to start playing around with `gitui` is to have `cargo` build a
233233
#### trace-libgit
234234
enable `libgit2` tracing
235235

236-
works if `libgit2` builded with `-DENABLE_TRACE=ON`
236+
works if `libgit2` built with `-DENABLE_TRACE=ON`
237237

238238
this feature enabled by default, to disable: `cargo install --no-default-features`
239239

asyncgit/src/sync/blame.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub struct FileBlame {
4040
pub lines: Vec<(Option<BlameHunk>, String)>,
4141
}
4242

43-
/// fixup `\` windows path seperators to git compatible `/`
43+
/// fixup `\` windows path separators to git compatible `/`
4444
fn fixup_windows_path(path: &str) -> String {
4545
#[cfg(windows)]
4646
{

asyncgit/src/sync/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub fn get_config_string_repo(
8888

8989
let cfg = repo.config()?;
9090

91-
// this code doesnt match what the doc says regarding what
91+
// this code doesn't match what the doc says regarding what
9292
// gets returned when but it actually works
9393
let entry_res = cfg.get_entry(key);
9494

git2-hooks/src/hookspath.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const CONFIG_HOOKS_PATH: &str = "core.hooksPath";
1616
const DEFAULT_HOOKS_PATH: &str = "hooks";
1717

1818
impl HookPaths {
19-
/// `core.hooksPath` always takes precendence.
19+
/// `core.hooksPath` always takes precedence.
2020
/// If its defined and there is no hook `hook` this is not considered
2121
/// an error or a reason to search in other paths.
2222
/// If the config is not set we go into search mode and

invalidstring/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
*just for testing invalid string data*
44

5-
This crate is part of the [gitui](http://gitui.org) project. We need this to be a seperate crate so that `asyncgit` can remain forbidding `unsafe`.
5+
This crate is part of the [gitui](http://gitui.org) project. We need this to be a separate crate so that `asyncgit` can remain forbidding `unsafe`.

scopetime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn foo(){
1919
}
2020
```
2121

22-
the resulting log looks someting like this:
22+
the resulting log looks something like this:
2323
```
2424
19:45:00 [TRACE] (7) scopetime: [scopetime/src/lib.rs:34] scopetime: 2 ms [my_crate::foo] @my_crate/src/bar.rs:5
2525
```

src/components/changes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl ChangesComponent {
9797
let config =
9898
self.options.borrow().status_show_untracked();
9999

100-
//TODO: check if we can handle the one file case with it aswell
100+
//TODO: check if we can handle the one file case with it as well
101101
sync::stage_add_all(
102102
&self.repo.borrow(),
103103
tree_item.info.full_path.as_str(),

src/components/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl DiffComponent {
568568

569569
fn stage_lines(&self) {
570570
if let Some(diff) = &self.diff {
571-
//TODO: support untracked files aswell
571+
//TODO: support untracked files as well
572572
if !diff.untracked {
573573
let selected_lines = self.selected_lines();
574574

0 commit comments

Comments
 (0)