History

Release gix-ref v0.27.2

Sebastian Thiel committed 3 years ago

Commit e965b181 parent 0ba40d96 files · +58 −11Browse files

Unified · Split

6 files
  1. Cargo.lock +6 −6
  2. gix-config/Cargo.toml +1 −1
  3. gix-discover/Cargo.toml +1 −1
  4. gix-ref/CHANGELOG.md +48 −1
  5. gix-ref/Cargo.toml +1 −1
  6. gix/Cargo.toml +1 −1
Cargo.lock+6−6
@@ -1293,7 +1293,7 @@ dependencies = [ · 1292 unmodified lines
12931293 "gix-path 0.7.2",
12941294 "gix-prompt",
12951295 "gix-protocol",
1296− "gix-ref 0.27.1",
1296+ "gix-ref 0.27.2",
12971297 "gix-refspec",
12981298 "gix-revision",
12991299 "gix-sec 0.6.2",
@@ -1445,7 +1445,7 @@ dependencies = [ · 145 unmodified lines
14451445 "gix-features 0.28.1",
14461446 "gix-glob 0.5.5",
14471447 "gix-path 0.7.2",
1448− "gix-ref 0.27.1",
1448+ "gix-ref 0.27.2",
14491449 "gix-sec 0.6.2",
14501450 "log",
14511451 "memchr",
@@ -1466,7 +1466,7 @@ dependencies = [ · 14 unmodified lines
14661466 "gix",
14671467 "gix-config",
14681468 "gix-path 0.7.2",
1469− "gix-ref 0.27.1",
1469+ "gix-ref 0.27.2",
14701470 "gix-sec 0.6.2",
14711471 "gix-testtools",
14721472 "serde_derive",
@@ -1579,7 +1579,7 @@ dependencies = [ · 106 unmodified lines
15791579 "dunce",
15801580 "gix-hash 0.10.3",
15811581 "gix-path 0.7.2",
1582− "gix-ref 0.27.1",
1582+ "gix-ref 0.27.2",
15831583 "gix-sec 0.6.2",
15841584 "gix-testtools",
15851585 "is_ci",
@@ -2030,7 +2030,7 @@ dependencies = [ · 444 unmodified lines
20302030
20312031 [[package]]
20322032 name = "gix-ref"
2033−version = "0.27.1"
2033+version = "0.27.2"
20342034 dependencies = [
20352035 "document-features",
20362036 "gix-actor 0.19.0",
@@ -2060,7 +2060,7 @@ dependencies = [ · 23 unmodified lines
20602060 "gix-lock 5.0.0",
20612061 "gix-object 0.28.0",
20622062 "gix-odb",
2063− "gix-ref 0.27.1",
2063+ "gix-ref 0.27.2",
20642064 "gix-testtools",
20652065 "gix-validate 0.7.4",
20662066 "gix-worktree 0.15.1",
gix-config/Cargo.toml+1−1
@@ -21,7 +21,7 @@ gix-features = { version = "^0.28.0", path = "../gix-features"} · 20 unmodified lines
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+1−1
@@ -15,7 +15,7 @@ doctest = false · 14 unmodified lines
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+48−1
@@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file. · 4 unmodified lines
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. · 2 unmodified lines
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. · 5 unmodified lines
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+1−1
@@ -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+1−1
@@ -110,7 +110,7 @@ fast-sha1 = [ "gix-features/fast-sha1" ] · 109 unmodified lines
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" }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t