Rewrites remaining github.com / git.sr.ht references to git.swaits.com, translating GitHub URL shapes to Gitea's (/blob/<ref>/ -> /src/branch/<ref>/, /tree/<tag> -> /src/tag/<tag>, /actions/workflows/X -> /actions?workflow=X, /edit/ -> /_edit/). Left pointing at GitHub on purpose: pull-request links (PRs were not migrated) and GitHub-only surfaces Gitea lacks (security advisories, discussions).
25 lines
602 B
TOML
25 lines
602 B
TOML
[package]
|
|
name = "fuckgit"
|
|
version = "0.1.1"
|
|
edition = "2024"
|
|
rust-version = "1.88"
|
|
authors = ["Stephen Waits <steve@waits.net>"]
|
|
description = "A binary named `git` that redirects you to `jj` (Jujutsu) when invoked inside a jj repo."
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://git.swaits.com/swaits/fuckgit"
|
|
homepage = "https://git.swaits.com/swaits/fuckgit"
|
|
keywords = ["jj", "jujutsu", "git", "vcs"]
|
|
categories = ["command-line-utilities", "development-tools"]
|
|
|
|
[[bin]]
|
|
name = "git"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
strip = true
|
|
codegen-units = 1
|