Skip to content

Commit 8da55a3

Browse files
authored
Merge pull request #1385 from Byron/fix-gix-ref
fix gix ref
2 parents e8b6bc2 + 2d0a352 commit 8da55a3

File tree

8 files changed

+41
-15
lines changed

8 files changed

+41
-15
lines changed

Cargo.lock

Lines changed: 7 additions & 7 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.38.2", path = "../gix-features"}
2121
gix-config-value = { version = "^0.14.6", path = "../gix-config-value" }
2222
gix-path = { version = "^0.10.7", path = "../gix-path" }
2323
gix-sec = { version = "^0.10.6", path = "../gix-sec" }
24-
gix-ref = { version = "^0.44.0", path = "../gix-ref" }
24+
gix-ref = { version = "^0.44.1", path = "../gix-ref" }
2525
gix-glob = { version = "^0.16.2", path = "../gix-glob" }
2626

2727
winnow = { version = "0.6.0", features = ["simd"] }

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.10.6", path = "../gix-sec" }
1717
gix-path = { version = "^0.10.7", path = "../gix-path" }
18-
gix-ref = { version = "^0.44.0", path = "../gix-ref" }
18+
gix-ref = { version = "^0.44.1", path = "../gix-ref" }
1919
gix-hash = { version = "^0.14.2", path = "../gix-hash" }
2020
gix-fs = { version = "^0.11.0", path = "../gix-fs" }
2121

gix-ref/CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,32 @@ 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.44.1 (2024-05-27)
9+
10+
### Bug Fixes
11+
12+
- <csr-id-cd969f69d1b86030d4ea5c5a77100f36caffb8d8/> `LineRef` is now `Copy` and remove non-exhaustive
13+
After all, this struct refers to what's in a reflog line, which is stable.
14+
15+
### Commit Statistics
16+
17+
<csr-read-only-do-not-edit/>
18+
19+
- 1 commit contributed to the release.
20+
- 4 days passed between releases.
21+
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
22+
- 0 issues like '(#ID)' were seen in commit messages
23+
24+
### Commit Details
25+
26+
<csr-read-only-do-not-edit/>
27+
28+
<details><summary>view details</summary>
29+
30+
* **Uncategorized**
31+
- `LineRef` is now `Copy` and remove non-exhaustive ([`cd969f6`](https://github.com/Byron/gitoxide/commit/cd969f69d1b86030d4ea5c5a77100f36caffb8d8))
32+
</details>
33+
834
## 0.44.0 (2024-05-22)
935

1036
### New Features
@@ -34,7 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3460

3561
<csr-read-only-do-not-edit/>
3662

37-
- 12 commits contributed to the release over the course of 30 calendar days.
63+
- 13 commits contributed to the release over the course of 30 calendar days.
3864
- 68 days passed between releases.
3965
- 3 commits were understood as [conventional](https://www.conventionalcommits.org).
4066
- 1 unique issue was worked on: [#1348](https://github.com/Byron/gitoxide/issues/1348)
@@ -48,6 +74,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4874
* **[#1348](https://github.com/Byron/gitoxide/issues/1348)**
4975
- Add `file::Store::force_refresh_packed_buffer()` to public API ([`f2d8955`](https://github.com/Byron/gitoxide/commit/f2d8955eacc1a0ce8678f3e9026e696926bae654))
5076
* **Uncategorized**
77+
- Release gix-features v0.38.2, gix-actor v0.31.2, gix-validate v0.8.5, gix-object v0.42.2, gix-command v0.3.7, gix-filter v0.11.2, gix-fs v0.11.0, gix-revwalk v0.13.1, gix-traverse v0.39.1, gix-worktree-stream v0.13.0, gix-archive v0.13.0, gix-tempfile v14.0.0, gix-lock v14.0.0, gix-ref v0.44.0, gix-config v0.37.0, gix-prompt v0.8.5, gix-index v0.33.0, gix-worktree v0.34.0, gix-diff v0.44.0, gix-discover v0.32.0, gix-pathspec v0.7.5, gix-dir v0.5.0, gix-macros v0.1.5, gix-mailmap v0.23.1, gix-negotiate v0.13.1, gix-pack v0.51.0, gix-odb v0.61.0, gix-transport v0.42.1, gix-protocol v0.45.1, gix-revision v0.27.1, gix-status v0.10.0, gix-submodule v0.11.0, gix-worktree-state v0.11.0, gix v0.63.0, gitoxide-core v0.38.0, gitoxide v0.36.0, safety bump 19 crates ([`4f98e94`](https://github.com/Byron/gitoxide/commit/4f98e94e0e8b79ed2899b35bef40f3c30b3025b0))
5178
- Adjust changelogs prior to release ([`9511416`](https://github.com/Byron/gitoxide/commit/9511416a6cd0c571233f958c165329c8705c2498))
5279
- Merge branch 'various-fixes' ([`d6cd449`](https://github.com/Byron/gitoxide/commit/d6cd44930fb204b06e2b70fc6965e7705530c47a))
5380
- Fix-CI ([`6f55f2a`](https://github.com/Byron/gitoxide/commit/6f55f2abd13078f94e8c4e10922806f195ae0d8b))

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.44.0"
3+
version = "0.44.1"
44
repository = "https://github.com/Byron/gitoxide"
55
license = "MIT OR Apache-2.0"
66
description = "A crate to handle git references"

gix-ref/src/store/file/log/line.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{log::Line, store_impl::file::log::LineRef};
55
impl<'a> LineRef<'a> {
66
/// Convert this instance into its mutable counterpart
77
pub fn to_owned(&self) -> Line {
8-
self.clone().into()
8+
(*self).into()
99
}
1010
}
1111

gix-ref/src/store/file/log/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ pub mod iter;
88
mod line;
99

1010
/// A parsed ref log line.
11-
#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]
11+
#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone, Copy)]
1212
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
13-
#[non_exhaustive]
1413
pub struct LineRef<'a> {
1514
/// The previous object id in hexadecimal. Use [`LineRef::previous_oid()`] to get a more usable form.
1615
pub previous_oid: &'a BStr,

gix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ cache-efficiency-debug = ["gix-features/cache-efficiency-debug"]
294294
gix-macros = { version = "^0.1.5", path = "../gix-macros" }
295295
gix-utils = { version = "^0.1.12", path = "../gix-utils" }
296296
gix-fs = { version = "^0.11.0", path = "../gix-fs" }
297-
gix-ref = { version = "^0.44.0", path = "../gix-ref" }
297+
gix-ref = { version = "^0.44.1", path = "../gix-ref" }
298298
gix-discover = { version = "^0.32.0", path = "../gix-discover" }
299299
gix-tempfile = { version = "^14.0.0", path = "../gix-tempfile", default-features = false }
300300
gix-lock = { version = "^14.0.0", path = "../gix-lock" }

0 commit comments

Comments
 (0)