Repository navigation
fix(deps): update rust crate gix-config to 0.61 - #70
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.60→0.61Release Notes
GitoxideLabs/gitoxide (gix-config)
v0.61.0: gix-config v0.61.0Compare Source
Bug Fixes
Keep rust workspace tests inside disposable repositories and isolated environments
Direct Git launches inherited repository selectors and user configuration even
when tests supplied a fixture working directory. Tests of default-environment
APIs and local Git transports also shared the runner's environment. A few
journey tests wrote beneath source directories or used the source checkout as
the repository under test.
Use the shared
gix-testtoolsGit command builder for subprocess setup, isolatedrepository options for fixtures, and isolated child processes where the real
environment-reading API must be exercised. Scope CWD changes, copy the fixture
used by an object-write test, and run shell journeys through
jtt run. Keepjourney worktrees and example output within their disposable sandboxes and
replace the attributes checkout test with a representative fixture repository.
Prompt examples also run in isolated children and must build successfully; the
old tests could ignore build failures and execute stale cached binaries.
The affected Rust crate suites, internal test-tool build, and
max-purejourneysuite pass from a source copy without Git metadata. Signing and Git-daemon
checks use only disposable keys, repositories, and local sockets.
track semantic emptiness across continuations
A bunch of refactoring, and more white-space and continuation related conformance with Git.
Quote delimiters do not append bytes to Git's parsed value, so a raw non-empty
continuation chunk may still leave the value empty. Track logical bytes and open
quote state when deciding whether continuation indentation is significant.
don't indent a value that starts on a continuation line
gitdiscards whitespace for as long as the value it has accumulated isstill empty, so the indentation of the line a value starts on is
insignificant — whether that is the line with the
=on it, or a laterline reached through a
\continuation.parse::from_bytes::value()onlyapplied this to the first line: after a continuation it set
value_startto the first byte of the next line, so the indentation became part of the
value.
Given this
.git/config:git config --get alias.lgreportslog --oneline --graph, whileFile::raw_value("alias.lg")reported\t\tlog --oneline --graph. Theleading tabs are silently carried into whatever runs the alias, and the
same happens to any continued value written in this shape, such as a
core.pagerset over two lines.value()now emits that indentation asEvent::Whitespacefor as long asevery chunk seen so far has been empty — the very sequence that
Event::ValueNotDonealready documents ("ANewlineevent usuallyfollows, followed by either
ValueDone,Whitespace, or anotherValueNotDone"). Because the events keep the bytes,to_bstring()stillround-trips the file unchanged, and every consumer already ignores
Whitespacewhen concatenating value chunks.Indentation that follows actual content is untouched, matching
git:k = abc\+\n\tdefstaysabc\tdef, and multi-line aliases that beginon the
=line keep their interior whitespace.Changed (BREAKING)
migrate errors to gix-error
rubberstamp
raise MSRV to Rust 1.88
The newly published
dua-core3.3 release used by linked-worktree removalrequires Rust 1.88, so raise every workspace crate and the advertised badge
together.
Keep the MSRV checks buildable by selecting the latest
sysinfoandrusqliterelease lines that support Rust 1.88.
Commit Statistics
Commit Details
view details
6356013)daf73b5)7670cef)65c5dfe)0695cd5)c609062)4e0f8ff)92b6508)2742f05)181297c)36b6310)a095334)4b42e0c)7e35849)888677a)2f154e2)26e8c68)01e9d06)a441bb2)b8914ff)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.