Unified · Split
| @@ -1293,7 +1293,7 @@ dependencies = [ · 1292 unmodified lines | |||
| 1293 | "gix-path 0.7.2", | 1293 | "gix-path 0.7.2", |
| 1294 | "gix-prompt", | 1294 | "gix-prompt", |
| 1295 | "gix-protocol", | 1295 | "gix-protocol", |
| 1296 | "gix-ref 0.27.1", | 1296 | "gix-ref 0.27.2", |
| 1297 | "gix-refspec", | 1297 | "gix-refspec", |
| 1298 | "gix-revision", | 1298 | "gix-revision", |
| 1299 | "gix-sec 0.6.2", | 1299 | "gix-sec 0.6.2", |
| @@ -1445,7 +1445,7 @@ dependencies = [ · 145 unmodified lines | |||
| 1445 | "gix-features 0.28.1", | 1445 | "gix-features 0.28.1", |
| 1446 | "gix-glob 0.5.5", | 1446 | "gix-glob 0.5.5", |
| 1447 | "gix-path 0.7.2", | 1447 | "gix-path 0.7.2", |
| 1448 | "gix-ref 0.27.1", | 1448 | "gix-ref 0.27.2", |
| 1449 | "gix-sec 0.6.2", | 1449 | "gix-sec 0.6.2", |
| 1450 | "log", | 1450 | "log", |
| 1451 | "memchr", | 1451 | "memchr", |
| @@ -1466,7 +1466,7 @@ dependencies = [ · 14 unmodified lines | |||
| 1466 | "gix", | 1466 | "gix", |
| 1467 | "gix-config", | 1467 | "gix-config", |
| 1468 | "gix-path 0.7.2", | 1468 | "gix-path 0.7.2", |
| 1469 | "gix-ref 0.27.1", | 1469 | "gix-ref 0.27.2", |
| 1470 | "gix-sec 0.6.2", | 1470 | "gix-sec 0.6.2", |
| 1471 | "gix-testtools", | 1471 | "gix-testtools", |
| 1472 | "serde_derive", | 1472 | "serde_derive", |
| @@ -1579,7 +1579,7 @@ dependencies = [ · 106 unmodified lines | |||
| 1579 | "dunce", | 1579 | "dunce", |
| 1580 | "gix-hash 0.10.3", | 1580 | "gix-hash 0.10.3", |
| 1581 | "gix-path 0.7.2", | 1581 | "gix-path 0.7.2", |
| 1582 | "gix-ref 0.27.1", | 1582 | "gix-ref 0.27.2", |
| 1583 | "gix-sec 0.6.2", | 1583 | "gix-sec 0.6.2", |
| 1584 | "gix-testtools", | 1584 | "gix-testtools", |
| 1585 | "is_ci", | 1585 | "is_ci", |
| @@ -2030,7 +2030,7 @@ dependencies = [ · 444 unmodified lines | |||
| 2030 | 2030 | ||
| 2031 | [[package]] | 2031 | [[package]] |
| 2032 | name = "gix-ref" | 2032 | name = "gix-ref" |
| 2033 | version = "0.27.1" | 2033 | version = "0.27.2" |
| 2034 | dependencies = [ | 2034 | dependencies = [ |
| 2035 | "document-features", | 2035 | "document-features", |
| 2036 | "gix-actor 0.19.0", | 2036 | "gix-actor 0.19.0", |
| @@ -2060,7 +2060,7 @@ dependencies = [ · 23 unmodified lines | |||
| 2060 | "gix-lock 5.0.0", | 2060 | "gix-lock 5.0.0", |
| 2061 | "gix-object 0.28.0", | 2061 | "gix-object 0.28.0", |
| 2062 | "gix-odb", | 2062 | "gix-odb", |
| 2063 | "gix-ref 0.27.1", | 2063 | "gix-ref 0.27.2", |
| 2064 | "gix-testtools", | 2064 | "gix-testtools", |
| 2065 | "gix-validate 0.7.4", | 2065 | "gix-validate 0.7.4", |
| 2066 | "gix-worktree 0.15.1", | 2066 | "gix-worktree 0.15.1", |
| @@ -21,7 +21,7 @@ gix-features = { version = "^0.28.0", path = "../gix-features"} · 20 unmodified lines | |||
| 21 | gix-config-value = { version = "^0.10.1", path = "../gix-config-value" } | 21 | gix-config-value = { version = "^0.10.1", path = "../gix-config-value" } |
| 22 | gix-path = { version = "^0.7.2", path = "../gix-path" } | 22 | gix-path = { version = "^0.7.2", path = "../gix-path" } |
| 23 | gix-sec = { version = "^0.6.2", path = "../gix-sec" } | 23 | 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" } |
| 25 | gix-glob = { version = "^0.5.5", path = "../gix-glob" } | 25 | gix-glob = { version = "^0.5.5", path = "../gix-glob" } |
| 26 | 26 | ||
| 27 | log = "0.4.17" | 27 | log = "0.4.17" |
| @@ -15,7 +15,7 @@ doctest = false · 14 unmodified lines | |||
| 15 | [dependencies] | 15 | [dependencies] |
| 16 | gix-sec = { version = "^0.6.2", path = "../gix-sec" } | 16 | gix-sec = { version = "^0.6.2", path = "../gix-sec" } |
| 17 | gix-path = { version = "^0.7.2", path = "../gix-path" } | 17 | 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" } |
| 19 | gix-hash = { version = "^0.10.3", path = "../gix-hash" } | 19 | gix-hash = { version = "^0.10.3", path = "../gix-hash" } |
| 20 | 20 | ||
| 21 | bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] } | 21 | bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] } |
| @@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file. · 4 unmodified lines | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 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 | |||
| 8 | ## 0.27.1 (2023-03-14) | 54 | ## 0.27.1 (2023-03-14) |
| 9 | 55 | ||
| 10 | A maintenance release without any user-facing changes. | 56 | A maintenance release without any user-facing changes. |
| @@ -13,7 +59,7 @@ A maintenance release without any user-facing changes. · 2 unmodified lines | |||
| 13 | 59 | ||
| 14 | <csr-read-only-do-not-edit/> | 60 | <csr-read-only-do-not-edit/> |
| 15 | 61 | ||
| 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. |
| 17 | - 3 days passed between releases. | 63 | - 3 days passed between releases. |
| 18 | - 0 commits were understood as [conventional](https://www.conventionalcommits.org). | 64 | - 0 commits were understood as [conventional](https://www.conventionalcommits.org). |
| 19 | - 0 issues like '(#ID)' were seen in commit messages | 65 | - 0 issues like '(#ID)' were seen in commit messages |
| @@ -25,6 +71,7 @@ A maintenance release without any user-facing changes. · 5 unmodified lines | |||
| 25 | <details><summary>view details</summary> | 71 | <details><summary>view details</summary> |
| 26 | 72 | ||
| 27 | * **Uncategorized** | 73 | * **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)) | ||
| 28 | - Prepare changelogs prior to release ([`c66e298`](https://github.com/Byron/gitoxide/commit/c66e2982577e4cd9faef63798986b8cf8ece93a2)) | 75 | - Prepare changelogs prior to release ([`c66e298`](https://github.com/Byron/gitoxide/commit/c66e2982577e4cd9faef63798986b8cf8ece93a2)) |
| 29 | - Merge branch 'shallow-protocol' ([`531dd19`](https://github.com/Byron/gitoxide/commit/531dd19502b8b635fb1a60f747eb381fd12e00ca)) | 76 | - Merge branch 'shallow-protocol' ([`531dd19`](https://github.com/Byron/gitoxide/commit/531dd19502b8b635fb1a60f747eb381fd12e00ca)) |
| 30 | - Merge branch 'fix-cred-helper' ([`01277a6`](https://github.com/Byron/gitoxide/commit/01277a681e4997896e04567490c572b5af606f35)) | 77 | - Merge branch 'fix-cred-helper' ([`01277a6`](https://github.com/Byron/gitoxide/commit/01277a681e4997896e04567490c572b5af606f35)) |
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "gix-ref" | 2 | name = "gix-ref" |
| 3 | version = "0.27.1" | 3 | version = "0.27.2" |
| 4 | repository = "https://github.com/Byron/gitoxide" | 4 | repository = "https://github.com/Byron/gitoxide" |
| 5 | license = "MIT/Apache-2.0" | 5 | license = "MIT/Apache-2.0" |
| 6 | description = "A crate to handle git references" | 6 | description = "A crate to handle git references" |
| @@ -110,7 +110,7 @@ fast-sha1 = [ "gix-features/fast-sha1" ] · 109 unmodified lines | |||
| 110 | 110 | ||
| 111 | 111 | ||
| 112 | [dependencies] | 112 | [dependencies] |
| 113 | gix-ref = { version = "^0.27.1", path = "../gix-ref" } | 113 | gix-ref = { version = "^0.27.2", path = "../gix-ref" } |
| 114 | gix-discover = { version = "^0.16.1", path = "../gix-discover" } | 114 | gix-discover = { version = "^0.16.1", path = "../gix-discover" } |
| 115 | gix-tempfile = { version = "^5.0.0", path = "../gix-tempfile", default-features = false, features = ["signals"] } | 115 | gix-tempfile = { version = "^5.0.0", path = "../gix-tempfile", default-features = false, features = ["signals"] } |
| 116 | gix-lock = { version = "^5.0.0", path = "../gix-lock" } | 116 | gix-lock = { version = "^5.0.0", path = "../gix-lock" } |