Skip to content

Commit 350df01

Browse files
committed
Merge branch 'test-archive-support'
2 parents 2bc2f76 + 1a35c5e commit 350df01

File tree

72 files changed

+344
-63
lines changed

Some content is hidden

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

72 files changed

+344
-63
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/generated-archives/*.tar.xz filter=lfs diff=lfs merge=lfs -text
2+
3+
# assure line feeds don't interfere with our working copy hash
4+
**/tests/fixtures/*.sh text crlf=input eol=lf

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
if: startsWith(matrix.os, 'macos')
2727
run:
2828
brew install tree openssl
29+
- run: git lfs fetch && git lfs checkout
30+
if: startsWith(matrix.os, 'macos')
2931
- name: test
3032
env:
3133
CI: true
@@ -47,6 +49,7 @@ jobs:
4749
with:
4850
command: check
4951
args: --all --bins --tests --examples
52+
- run: git lfs fetch && git lfs checkout
5053
- name: "Test (crossterm)"
5154
uses: actions-rs/cargo@v1
5255
with:

Cargo.lock

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ allow = [
3939
"Apache-2.0",
4040
"BSD-3-Clause",
4141
"MIT",
42+
"ISC",
4243
"CC-PDDC",
4344
]
4445
# Lint level for licenses considered copyleft
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:fdb7b214315cabdf81173aed5530c2030d3d4f5f2888ebc194f6d1268fca685a
3+
size 11028
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0ab0225258e6ecdb30ee1d47927213660f8efde4268219a667a387aa295e5d1b
3+
size 9824
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:88d09648935a3eb359d846c279f0917f34d115781836830442dc105dd43c9056
3+
size 10064
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c7db665d1e857933e030d6b34384a30a7a3ccb7af557ccbba7e2e304632e97a6
3+
size 10272

git-commitgraph/tests/fixtures/octopus_merges.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q --orphan root
87
git commit -q --allow-empty -m root

git-commitgraph/tests/fixtures/single_commit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -eu -o pipefail
44
# The goal with this repo is to have the smallest commit-graph file possible, in the hopes that an
55

66
git init -q
7-
git config commit.gpgsign false
87

98
git checkout -q -b commit
109
git commit -q --allow-empty -m commit

git-commitgraph/tests/fixtures/single_parent.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b parent
87
git commit -q --allow-empty -m parent

git-commitgraph/tests/fixtures/split_chain.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b commit1
87
git commit -q --allow-empty -m commit1

git-commitgraph/tests/fixtures/two_parents.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q --orphan parent1
87
git commit -q --allow-empty -m parent1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9b4140a06af5353cd0436b59b74fc724b546b176ce110ac73c9843fe45bba2f5
3+
size 17148

git-diff/tests/fixtures/make_diff_repo.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ set -eu -o pipefail
33

44

55
git init -q
6-
git config commit.gpgsign false
76
git config core.autocrlf false
87

98
git checkout -q -b main
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:cdade0fe7f3df3ac737130a101b077c82f9de1dcb3d59d5964e5ffd920405e8d
3+
size 10384

git-glob/tests/fixtures/make_baseline.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/bin/bash
22
set -eu -o pipefail
33

4-
54
git init -q
6-
git config commit.gpgsign false
75
git config core.autocrlf false
86
git config core.ignorecase false
97

git-index/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ license = "MIT/Apache-2.0"
66
description = "A work-in-progress crate of the gitoxide project dedicated implementing the git index file"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2018"
9+
include = ["src/**/*", "README.md", "CHANGELOG.md"]
910

1011
[lib]
1112
doctest = false
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a4cfb0671c3703a4f62c00422dbb923aed44717a674fbdde286e57f09c2b6e59
3+
size 9140
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:99516a1998e2d7ea71f4e0ab3641e0d78bd386f0ad0c625382523a9f4fca7c9c
3+
size 9812
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:d04c86a4d12bdc41524222e2efa7a83e5df4fe52d80708252c981e539c72e182
3+
size 10036
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9913510e53575292008672492849948cd9efaf4fe0e0bb7e117182dee60ab596
3+
size 9880
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:014c673fe820aaa0f8de7a3654bdeaa7d5f1300c792b9ed1edff026ddac69bd9
3+
size 10332

git-index/tests/fixtures/make_index/v2.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ set -eu -o pipefail
33

44
export GIT_INDEX_VERSION=2
55
git init -q
6-
git config commit.gpgsign false
76
git config index.threads 2
87

98
touch a

git-index/tests/fixtures/make_index/v2_more_files.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ set -eu -o pipefail
33

44
export GIT_INDEX_VERSION=2;
55
git init -q
6-
git config commit.gpgsign false
76
git config index.threads 1
87

98
touch a b c

git-index/tests/fixtures/make_index/v2_split_index.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ set -eu -o pipefail
33

44
export GIT_INDEX_VERSION=2
55
git init -q
6-
git config commit.gpgsign false
76
git config index.threads 1
87

98
touch a

git-index/tests/fixtures/make_index/v4_more_files_IEOT.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ set -eu -o pipefail
33

44
export GIT_INDEX_VERSION=4
55
git init -q
6-
git config commit.gpgsign false
76
git config index.threads 2
87

98
touch a b c

git-lock/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ use std::path::PathBuf;
1919

2020
use git_tempfile::handle::{Closed, Writable};
2121

22+
pub use git_tempfile as tempfile;
23+
2224
const DOT_LOCK_SUFFIX: &str = ".lock";
2325

2426
///
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:276948e1907264f7c8a6bed007b6564afc891d3d517511d4b04be4154d1c4c60
3+
size 11828
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9b7c838e9bc586515b7bcbb2acdd3fbad294a080041a3e99fbe472159eb97478
3+
size 78172
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:7b3f2b199f195cdc2b31ae12f95605bb484c47ec7a5ee98c0972a8c19e8ecd04
3+
size 76164
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c14e6c29d69c35dd886d9372c91f6b1e59a888315be312ae951b95a48e761016
3+
size 77948

git-pack/tests/fixtures/make_pack_gen_repo.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
function write_files() {
87
local base_dir=${1:?directory to write them into}

git-pack/tests/fixtures/make_pack_gen_repo_multi_index.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
function write_files() {
87
local base_dir=${1:?directory to write them into}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:7e73ea6b1b302661b6c4b5fb501ba7e01331c43015f501b07af04c506f60ea11
3+
size 10152
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:62e893d53d97cb3433794fe477bea35565bfc4e79d83745738aea1c5c8c38f3b
3+
size 10104
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:8f0c0d8b8866caee2797bee55e680cefbdc1da876a0f43e265e5210fb2d3dd27
3+
size 10236
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c1b0692e59d4becf37a2a757bd5202400b994109e57d2ee80a73a3453590d236
3+
size 9960
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:768f57b6f862a14c1dd079c056380cb6e2cbc67800d47dd67fc5fecbb3e6e039
3+
size 10132
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:e7fe369e2c7a87e2688c6d0bf3bcdbe3e31754266f39f53a390f85551ba8258e
3+
size 10848
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:028a4429060e064bf25bf86c2d21a9458a29c4b36ad8c3d873b84581730db6f7
3+
size 51500

git-ref/tests/fixtures/make_namespaced_packed_ref_repository.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1

git-ref/tests/fixtures/make_packed_ref_repository.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1

git-ref/tests/fixtures/make_packed_ref_repository_for_overlay.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1

git-ref/tests/fixtures/make_packed_refs_for_lookup_rules.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1

git-ref/tests/fixtures/make_ref_repository.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1

git-ref/tests/fixtures/make_repo_for_reflog.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1

git-ref/tests/fixtures/make_repository_with_lots_of_packed_refs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -q -b main
87
git commit -q --allow-empty -m c1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:fa8dd6cb3d43e72355fa16be84330c3581278c6f4c952a5397ee63f2a1ff8b1d
3+
size 10540
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:62e893d53d97cb3433794fe477bea35565bfc4e79d83745738aea1c5c8c38f3b
3+
size 10104
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:91b1dd658c06390db23c8aa1fbf4942c83ed31e05eab07e0f7596c94a8a8fc07
3+
size 10496

git-repository/tests/fixtures/make_basic_repo.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu -o pipefail
33

44
git init -q
5-
git config commit.gpgsign false
65

76
git checkout -b main
87
touch this

0 commit comments

Comments
 (0)