From c4fb1a476d80c2fea7e0e37149b8a8efb7f0b322 Mon Sep 17 00:00:00 2001 From: Waleed Khan Date: Tue, 26 Apr 2022 22:58:43 -0700 Subject: [PATCH] cleanup: remove deprecated `git.io` link See https://github.blog/changelog/2022-04-25-git-io-deprecation/ --- git-branchless/src/commands/undo.rs | 3 +-- git-branchless/tests/command/test_undo.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/git-branchless/src/commands/undo.rs b/git-branchless/src/commands/undo.rs index 3dffa7a27..8dae7bdf6 100644 --- a/git-branchless/src/commands/undo.rs +++ b/git-branchless/src/commands/undo.rs @@ -84,9 +84,8 @@ fn render_cursor_smartlog( } fn describe_event(glyphs: &Glyphs, repo: &Repo, event: &Event) -> eyre::Result> { - // Links to https://github.com/arxanas/git-branchless/issues/57 const EMPTY_EVENT_MESSAGE: &str = - "This may be an unsupported use-case; see https://git.io/J0b7z"; + "This may be an unsupported use-case; see https://github.com/arxanas/git-branchless/issues/57"; let result = match event { Event::CommitEvent { diff --git a/git-branchless/tests/command/test_undo.rs b/git-branchless/tests/command/test_undo.rs index dbfb70108..3cbee27d1 100644 --- a/git-branchless/tests/command/test_undo.rs +++ b/git-branchless/tests/command/test_undo.rs @@ -698,7 +698,7 @@ fn test_git_bisect_produces_empty_event() -> eyre::Result<()> { ┌──────────────────────────────────────────────────────┤ Events ├──────────────────────────────────────────────────────┐ │Repo after transaction 3 (event 4). Press 'h' for help, 'q' to quit. │ │1. Empty event for BISECT_HEAD │ - │ This may be an unsupported use-case; see https://git.io/J0b7z │ + │ This may be an unsupported use-case; see https://github.com/arxanas/git-branchless/issues/57 │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ "###);