Skip to content

Commit f3c78f3

Browse files
committed
Updates for v2.5.0
1 parent ad9eb29 commit f3c78f3

File tree

6 files changed

+79
-2
lines changed

6 files changed

+79
-2
lines changed

command-list.txt

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ linkstg:id[]::
99
Print git hash of a StGit revision
1010
linkstg:log[]::
1111
Display or optionally clear the stack changelog
12+
linkstg:name[]::
13+
Print patch name of a StGit revision
1214
linkstg:show[]::
1315
Show patch commits
1416

content/_index.md

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ StGit is licensed under the GNU General Public License, version 2.
3535

3636
## News
3737

38+
### 2025-01-01: [StGit v2.5.0][v2.5.0] has been released.
39+
40+
This includes the new `stg name` command as well as the ability for `stg
41+
rebase` to be run without arguments.
42+
3843
### 2024-08-17: [StGit v2.4.10][v2.4.10] has been released.
3944

4045
### 2024-05-05: [StGit v2.4.7][v2.4.7] has been released.
@@ -88,6 +93,7 @@ bzip2-rs crate which allows for static linking when not using the
8893

8994
This release also contains a few more bugfixes to `stg import`.
9095

96+
[v2.5.0]: https://github.com/stacked-git/stgit/releases/tag/v2.5.0
9197
[v2.4.10]: https://github.com/stacked-git/stgit/releases/tag/v2.4.10
9298
[v2.4.9]: https://github.com/stacked-git/stgit/releases/tag/v2.4.9
9399
[v2.4.8]: https://github.com/stacked-git/stgit/releases/tag/v2.4.8

content/changelog/_index.md

+27
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@ title = 'StGit Changelog'
44

55
# Changelog
66

7+
## 2.5.0 2025-01-01
8+
9+
### Added
10+
11+
- feat: new "name" subcommand
12+
- feat: support calling stg rebase without arguments
13+
14+
### Fixed
15+
16+
- docs: explain stgit.autosign a bit better
17+
18+
### Changed
19+
20+
- feat: organize subcommands by group in help
21+
22+
23+
## 2.4.13 2024-12-14
24+
25+
### Fixed
26+
27+
- fix(squash): preserve consensus author
28+
29+
### Changed
30+
31+
- chore: update gix to 0.68
32+
33+
734
## 2.4.12 2024-09-08
835

936
### Changed

content/man/stg-help.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ SYNOPSIS
4545
'stg help import'
4646
'stg help init'
4747
'stg help log'
48+
'stg help name'
4849
'stg help new'
4950
'stg help next'
5051
'stg help patches'
@@ -179,6 +180,9 @@ init::
179180
log::
180181
Display or optionally clear the stack changelog
181182

183+
name::
184+
Print patch name of a StGit revision
185+
182186
new::
183187
Create a new patch at top of the stack
184188

content/man/stg-name.adoc

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
+++
2+
title = "stg-name(1)"
3+
+++
4+
5+
stg-name(1)
6+
===========
7+
8+
NAME
9+
----
10+
stg-name - Print patch name of a StGit revision
11+
12+
SYNOPSIS
13+
--------
14+
[verse]
15+
'stg name' [OPTIONS] [revision]
16+
17+
DESCRIPTION
18+
-----------
19+
20+
Print the patch name of a StGit revision.
21+
22+
Try to get the name of the patch in the current branch as specified by a StGit
23+
revision. Revisions can be specified in the all the forms accepted by "stg id" command.
24+
25+
OPTIONS
26+
-------
27+
-b <branch>::
28+
--branch=<branch>::
29+
Use <branch> instead of current branch
30+
31+
--showbranch::
32+
Display the branch name with the patch
33+
34+
StGit
35+
-----
36+
Part of the StGit suite - see linkman:stg[1]

content/man/stg.adoc

+4-2
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,10 @@ stgit.autoimerge::
269269
is automatically run to attempt to resolve the conflicts.
270270
271271
stgit.autosign::
272-
Automatically add "Signed-off-by:" trailer to commit messages for new patches created
273-
with linkstg:new[] or lingstg:import[].
272+
Automatically add signoff trailer to commit messages for new patches created
273+
with linkstg:new[] or lingstg:import[]. The value of this configuration
274+
variable will be used as the key of the trailer and therefore should be set
275+
to something like 'Signed-off-by'.
274276
275277
stgit.autostash::
276278
When running linkstg:rebase[], if any modified files are found in the working tree, a

0 commit comments

Comments
 (0)