Skip to content

Commit 1691ba6

Browse files
committed
Merge branch 'main' into fix-1183
2 parents c1cfe6e + 401b73d commit 1691ba6

File tree

177 files changed

+1030
-431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+1030
-431
lines changed

Diff for: .gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**/generated-archives/*.tar.xz filter=lfs diff=lfs merge=lfs -text
1+
**/generated-archives/*.tar.xz filter=lfs-disabled diff=lfs merge=lfs -text
22

33
# assure line feeds don't interfere with our working copy hash
44
**/tests/fixtures/**/*.sh text crlf=input eol=lf

Diff for: .github/workflows/ci.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ jobs:
7979
- name: "cargo check default features"
8080
if: startsWith(matrix.os, 'windows')
8181
run: cargo check --all --bins --examples
82-
- run: git lfs fetch && git lfs checkout
82+
- run: |
83+
# it should never be a failure not to get the caches, as they can be regenerated.
84+
git lfs fetch && git lfs checkout || true
8385
- uses: taiki-e/install-action@v1
8486
with:
8587
tool: nextest
@@ -89,8 +91,9 @@ jobs:
8991

9092
test-32bit:
9193
runs-on: ubuntu-latest
92-
env:
93-
TARGET: i686-unknown-linux-gnu
94+
strategy:
95+
matrix:
96+
target: [ i686-unknown-linux-gnu, armv7-linux-androideabi ]
9497
steps:
9598
- uses: actions/checkout@v3
9699
- uses: dtolnay/rust-toolchain@stable
@@ -99,14 +102,16 @@ jobs:
99102
uses: dtolnay/rust-toolchain@master
100103
with:
101104
toolchain: stable
102-
targets: ${{ env.TARGET }}
105+
targets: ${{ matrix.target }}
103106
- uses: taiki-e/install-action@v1
104107
with:
105108
tool: cross
109+
- name: "check"
110+
run: cross check -p gix --target ${{ matrix.target }}
106111
- name: "Test (unit)"
107112
# run high-level unit tests that exercise a lot of code while being pure Rust to ease building test binaries.
108113
# TODO: figure out why `git` doesn't pick up environment configuration so build scripts fail when using `-p gix`.
109-
run: cross test -p gix-hashtable --target ${{ env.TARGET }}
114+
run: cross test -p gix-hashtable --target ${{ matrix.target }}
110115

111116
installation:
112117
strategy:

Diff for: CHANGELOG.md

+9-20
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### New Features
1111

12+
<csr-id-4aea9b097fb08e504cdfc4a7c3b7511a308dc074/>
13+
<csr-id-c6e83cf69f1a17e9ba3010bcce3a4ddd3305424c/>
14+
<csr-id-8f795e8abf706a24fe104500bf15efaa2bc07b15/>
15+
<csr-id-8dfbb4ba531d86894a59e2b85ec29cd3133c8c4d/>
16+
<csr-id-f9ae1bc6b514b6bbcda2c672f7b7ccbd999356a0/>
17+
<csr-id-886289f98003f935d774a40f6db746ae70649936/>
18+
1219
- <csr-id-cf51a4de2d06eb28435ef8e386131710003b6928/> `gix rev parse --format` to provide different versions of the same content.
1320
This only applies to blobs, but allows to obtain different versions of the same blob
1421
like:
1522

1623
* what's stored in Git
17-
* what would be checked out to the worktree
18-
* what would be diffed
19-
- <csr-id-4aea9b097fb08e504cdfc4a7c3b7511a308dc074/> add the`diff::resource_cache()` low-level utility for rapid in-memory diffing of combinations of resources.
20-
We also add the `object::tree::diff::Platform::for_each_to_obtain_tree_with_cache()` to pass a resource-cache
21-
for re-use between multiple invocation for significant savings.
22-
- <csr-id-c6e83cf69f1a17e9ba3010bcce3a4ddd3305424c/> In gix read http.sslVerify config value and pass it to gix-transport.
23-
- <csr-id-8f795e8abf706a24fe104500bf15efaa2bc07b15/> add basic connectivity check
24-
Implement a simple connectivity check in a new `gix-fsck` crate, and add
25-
this to `gix` via a new `fsck` subcommand. Currently this is
26-
functionally equivalent to:
27-
`git rev-list --objects --quiet --missing=print`
28-
- <csr-id-8dfbb4ba531d86894a59e2b85ec29cd3133c8c4d/> Allow to print a tree without prettification, using `--tree-style raw`.
29-
This is mainly useful to generate fixtures for the test-suite, and is assured
30-
to not add extra-bytes to the output either.
31-
- <csr-id-f9ae1bc6b514b6bbcda2c672f7b7ccbd999356a0/> automatically enforce strict mode if `-c` options are given on the command-line.
32-
This should stop most mistakes right away, instead of possibly silently
33-
ignoring them depending on what was hard-coded in the respective sub-command.
34-
- <csr-id-886289f98003f935d774a40f6db746ae70649936/> add `gix free discover` to inform about repository discovery.
35-
It's mainly to better understand what's causing certain failures
36-
if a repository can't be opened, in different modes of operations.
24+
* what would be checked out to the worktree
25+
* what would be diffed
3726

3827
### Bug Fixes
3928

0 commit comments

Comments
 (0)