Commit 784fe7d
authored
Rename binary to git-spice (#1032)
The 'gs' binary conflicting with ghostscript's 'gs' binary
has been a recurring complaint,
and is now affecting user-built extensions, e.g.
- Smexey/git-spice-code-extension#1
- jesseduffield/lazygit#5219
There was previously discussion about this and I agreed to rename it:
#469 (comment)
This finally performs the rename.
However, to remain backwards compatible in this release:
- the official archives, Homebrew Cask, and AUR package
provide two binaries: 'git-spice' and 'gs'
- if invoked as 'gs', the program prints a warning,
but otherwise works as normal
- the documentation website continues to use 'gs' for brevity,
but includes a note about the alias
Things to do after this is released:
- update the homebrew-core formula to build as 'git-spice',
and add a symlink from 'gs' to 'git-spice'
- afterwards, we can update the import path to go.abhg.dev/git-spice.
Refs #469
(Issue won't be resolved until the release after,
when we delete the 'gs' binary.)1 parent 296ebd9 commit 784fe7d
16 files changed
Lines changed: 159 additions & 63 deletions
File tree
- .changes/unreleased
- doc
- hooks
- includes
- overrides/partials
- src
- cli
- css
- setup
- start
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
50 | | - | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
71 | | - | |
| 78 | + | |
72 | 79 | | |
73 | 80 | | |
74 | 81 | | |
| 82 | + | |
| 83 | + | |
75 | 84 | | |
76 | | - | |
| 85 | + | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments