Skip to content

Commit e965b18

Browse files
committed
Release gix-ref v0.27.2
1 parent 0ba40d9 commit e965b18

File tree

6 files changed

+58
-11
lines changed

6 files changed

+58
-11
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gix-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gix-features = { version = "^0.28.0", path = "../gix-features"}
2121
gix-config-value = { version = "^0.10.1", path = "../gix-config-value" }
2222
gix-path = { version = "^0.7.2", path = "../gix-path" }
2323
gix-sec = { version = "^0.6.2", path = "../gix-sec" }
24-
gix-ref = { version = "^0.27.0", path = "../gix-ref" }
24+
gix-ref = { version = "^0.27.2", path = "../gix-ref" }
2525
gix-glob = { version = "^0.5.5", path = "../gix-glob" }
2626

2727
log = "0.4.17"

gix-discover/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ doctest = false
1515
[dependencies]
1616
gix-sec = { version = "^0.6.2", path = "../gix-sec" }
1717
gix-path = { version = "^0.7.2", path = "../gix-path" }
18-
gix-ref = { version = "^0.27.0", path = "../gix-ref" }
18+
gix-ref = { version = "^0.27.2", path = "../gix-ref" }
1919
gix-hash = { version = "^0.10.3", path = "../gix-hash" }
2020

2121
bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] }

gix-ref/CHANGELOG.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.27.2 (2023-03-28)
9+
10+
### Bug Fixes
11+
12+
- <csr-id-3d6832cb0ea5dc4b3d798fd4ff86602df8d54407/> uncategorized refs should not be per-worktree
13+
When creating a new ref from using a Repository instantiated from a linked
14+
worktree, if the ref did not fit one of the well-known categories, it would be
15+
incorrectly stored as a per-worktree reference instead of a shared reference.
16+
17+
For example, the reference "refs/stacks/linked" does not fit any of the well
18+
known categories. According to git-worktree(1), this ref should be shared
19+
across all worktrees; i.e. located at $GIT_COMMON_DIR/refs/stacks/linked and
20+
*not* in $GIT_COMMON_DIR/worktrees/linked/refs/stacks/linked.
21+
22+
This change tweaks the control flow so that uncategorized refs correctly
23+
fallback to being relative to commondir while still placing refs that are
24+
supposed to be per-worktree in the per-worktree location.
25+
26+
### Commit Statistics
27+
28+
<csr-read-only-do-not-edit/>
29+
30+
- 4 commits contributed to the release.
31+
- 13 days passed between releases.
32+
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
33+
- 0 issues like '(#ID)' were seen in commit messages
34+
35+
### Thanks Clippy
36+
37+
<csr-read-only-do-not-edit/>
38+
39+
[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic.
40+
41+
### Commit Details
42+
43+
<csr-read-only-do-not-edit/>
44+
45+
<details><summary>view details</summary>
46+
47+
* **Uncategorized**
48+
- Thanks clippy ([`fa98a92`](https://github.com/Byron/gitoxide/commit/fa98a922ed3f253c16abd420342f1f59ec53226d))
49+
- Merge branch 'fix-worktree-shared-refs' ([`9531b11`](https://github.com/Byron/gitoxide/commit/9531b119c86a0887453fca84325ee6133bab24e7))
50+
- Add more tests to validate uncategorized refs in the context of worktrees ([`de66453`](https://github.com/Byron/gitoxide/commit/de66453731a2be80527fda69c438fe7aff4b9d47))
51+
- Uncategorized refs should not be per-worktree ([`3d6832c`](https://github.com/Byron/gitoxide/commit/3d6832cb0ea5dc4b3d798fd4ff86602df8d54407))
52+
</details>
53+
854
## 0.27.1 (2023-03-14)
955

1056
A maintenance release without any user-facing changes.
@@ -13,7 +59,7 @@ A maintenance release without any user-facing changes.
1359

1460
<csr-read-only-do-not-edit/>
1561

16-
- 3 commits contributed to the release over the course of 3 calendar days.
62+
- 4 commits contributed to the release over the course of 3 calendar days.
1763
- 3 days passed between releases.
1864
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
1965
- 0 issues like '(#ID)' were seen in commit messages
@@ -25,6 +71,7 @@ A maintenance release without any user-facing changes.
2571
<details><summary>view details</summary>
2672

2773
* **Uncategorized**
74+
- Release gix-features v0.28.1, gix-tempfile v5.0.1, gix-ref v0.27.1, gix-pack v0.33.1, gix-packetline v0.15.0, gix-transport v0.29.0, gix-protocol v0.30.0, gix v0.42.0, safety bump 3 crates ([`c1f1bfb`](https://github.com/Byron/gitoxide/commit/c1f1bfb8dc0e73993678353e4492d0614b642ed1))
2875
- Prepare changelogs prior to release ([`c66e298`](https://github.com/Byron/gitoxide/commit/c66e2982577e4cd9faef63798986b8cf8ece93a2))
2976
- Merge branch 'shallow-protocol' ([`531dd19`](https://github.com/Byron/gitoxide/commit/531dd19502b8b635fb1a60f747eb381fd12e00ca))
3077
- Merge branch 'fix-cred-helper' ([`01277a6`](https://github.com/Byron/gitoxide/commit/01277a681e4997896e04567490c572b5af606f35))

gix-ref/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gix-ref"
3-
version = "0.27.1"
3+
version = "0.27.2"
44
repository = "https://github.com/Byron/gitoxide"
55
license = "MIT/Apache-2.0"
66
description = "A crate to handle git references"

gix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fast-sha1 = [ "gix-features/fast-sha1" ]
110110

111111

112112
[dependencies]
113-
gix-ref = { version = "^0.27.1", path = "../gix-ref" }
113+
gix-ref = { version = "^0.27.2", path = "../gix-ref" }
114114
gix-discover = { version = "^0.16.1", path = "../gix-discover" }
115115
gix-tempfile = { version = "^5.0.0", path = "../gix-tempfile", default-features = false, features = ["signals"] }
116116
gix-lock = { version = "^5.0.0", path = "../gix-lock" }

0 commit comments

Comments
 (0)