We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dea3d25 commit 289e957Copy full SHA for 289e957
asyncgit/src/sync/branch/mod.rs
@@ -715,13 +715,13 @@ mod tests_branches {
715
&root.as_os_str().to_str().unwrap().into();
716
717
let branch_name = "master";
718
- let upstrem_merge = "refs/heads/master";
+ let upstream_merge = "refs/heads/master";
719
720
let mut config = repo.config().unwrap();
721
config
722
.set_str(
723
&format!("branch.{branch_name}.merge"),
724
- upstrem_merge,
+ upstream_merge,
725
)
726
.expect("fail set branch merge config");
727
@@ -732,7 +732,7 @@ mod tests_branches {
732
.is_ok_and(|v| v.as_ref().is_some()));
733
assert_eq!(
734
&upstream_merge_res.unwrap().unwrap(),
735
- upstrem_merge
+ upstream_merge
736
);
737
}
738
asyncgit/src/sync/remotes/push.rs
@@ -134,7 +134,7 @@ pub fn push_branch(
134
135
136
137
-//TODO: clenaup
+//TODO: cleanup
138
#[allow(clippy::too_many_arguments)]
139
pub fn push_raw(
140
repo_path: &RepoPath,
git2-hooks/src/lib.rs
@@ -372,7 +372,7 @@ exit 0
372
373
374
#[test]
375
- fn test_other_path_precendence() {
+ fn test_other_path_precedence() {
376
let (td, repo) = repo_init();
377
378
{
@@ -493,7 +493,7 @@ exit 1
493
fn test_pre_commit_py() {
494
let (_td, repo) = repo_init();
495
496
- // mirror how python pre-commmit sets itself up
+ // mirror how python pre-commit sets itself up
497
#[cfg(not(windows))]
498
let hook = b"#!/usr/bin/env python
499
import sys
@@ -514,7 +514,7 @@ sys.exit(0)
514
fn test_pre_commit_fail_py() {
515
516
517
518
519
520
src/clipboard.rs
@@ -50,7 +50,7 @@ fn exec_copy_with_args(
50
51
52
// Implementation taken from https://crates.io/crates/wsl.
53
-// Using /proc/sys/kernel/osrelease as an authoratative source
+// Using /proc/sys/kernel/osrelease as an authoritative source
54
// based on this comment: https://github.com/microsoft/WSL/issues/423#issuecomment-221627364
55
#[cfg(all(target_family = "unix", not(target_os = "macos")))]
56
fn is_wsl() -> bool {
src/popups/submodules.rs
@@ -317,8 +317,8 @@ impl SubmodulesListPopup {
317
318
319
fn set_selection(&mut self, selection: u16) -> Result<()> {
320
- let num_entriess: u16 = self.submodules.len().try_into()?;
321
- let num_entries = num_entriess.saturating_sub(1);
+ let num_entries: u16 = self.submodules.len().try_into()?;
+ let num_entries = num_entries.saturating_sub(1);
322
323
let selection = if selection > num_entries {
324
num_entries
src/popups/taglist.rs
@@ -460,7 +460,7 @@ impl TagListPopup {
460
EMPTY_SYMBOL
461
};
462
463
- let has_attachement_str = if tag.annotation.is_some() {
+ let has_attachment_str = if tag.annotation.is_some() {
464
ATTACHMENT_SYMBOL
465
} else {
466
@@ -475,7 +475,7 @@ impl TagListPopup {
475
.style(self.theme.commit_time(false)),
476
Cell::from(tag.author.clone())
477
.style(self.theme.commit_author(false)),
478
- Cell::from(has_attachement_str)
+ Cell::from(has_attachment_str)
479
.style(self.theme.text_danger()),
480
Cell::from(tag.message.clone())
481
.style(self.theme.text(true, false)),
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments