Skip to content

Commit

Permalink
adjust to renaming of git-config to gix-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Feb 16, 2023
1 parent dd6d63e commit 3a861c8
Show file tree
Hide file tree
Showing 147 changed files with 1,135 additions and 1,135 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ This release also fixes compatibility issues that formerly prevented to fetch or
- update progress of http.proxyAuthMethod ([`872dc1a`](https://github.com/Byron/gitoxide/commit/872dc1ab43ce626b4166dae3dc8bddf8e85c9409))
- add `--strict` option to enforce strict checking of configuration. ([`aeb4a1d`](https://github.com/Byron/gitoxide/commit/aeb4a1d5cb76316058c7d687e26f5c7db351c09c))
- don't lock stdout/stderr as it will deadlock on dbg-printing ([`62cae0e`](https://github.com/Byron/gitoxide/commit/62cae0e6bfe8113c0225152a896338017c8de474))
- adapt to changes in `git-config` ([`1c2e755`](https://github.com/Byron/gitoxide/commit/1c2e755e517b0f9fe8671187f5c30076ce43a3c9))
- adapt to changes in `gix-config` ([`1c2e755`](https://github.com/Byron/gitoxide/commit/1c2e755e517b0f9fe8671187f5c30076ce43a3c9))
- Merge branch 'main' into http-config ([`bcd9654`](https://github.com/Byron/gitoxide/commit/bcd9654e56169799eb706646da6ee1f4ef2021a9))
</details>

Expand Down
80 changes: 40 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ gix-ref = { opt-level = 3 }
#git-pack = { opt-level = 3 }
gix-hash = { opt-level = 3 }
gix-actor = { opt-level = 3 }
git-config = { opt-level = 3 }
gix-config = { opt-level = 3 }
miniz_oxide = { opt-level = 3 }
sha1 = { opt-level = 3 }
sha1_smol = { opt-level = 3 }
Expand All @@ -134,7 +134,7 @@ members = [
"gix-validate",
"gix-ref",
"git-command",
"git-config",
"gix-config",
"gix-config-value",
"git-discover",
"gix-features",
Expand Down Expand Up @@ -186,7 +186,7 @@ members = [
"git-pack/tests",
"git-index/tests",
"gix-ref/tests",
"git-config/tests",
"gix-config/tests",
"git-traverse/tests",
]
exclude = ["cargo-smart-release/tests/fixtures/tri-depth-workspace/a",
Expand Down
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ There is value in organizing commits by topic and [_Stacked Git_](https://stacke

## Configuration and overrides

As a general rule, respect and implement all applicable [git-config](https://git-scm.com/docs/git-config) by default, but allow the
As a general rule, respect and implement all applicable [gix-config](https://git-scm.com/docs/gix-config) by default, but allow the
caller to set overrides. How overrides work depends on the goals of the particular API so it can be done on the main call path,
forcing a choice, or more typically, as a side-lane where overrides can be done on demand.

Expand Down Expand Up @@ -186,7 +186,7 @@ A bunch of notes collected to keep track of what's needed to eventually support

- Use `Options` whenever there is something to configure in terms of branching behaviour. It can be defaulted, and if it can't these fields should be parameters of the method
that takes these `Options`.
- Use `Context` when data is required to perform an operation at all. See `git_config::path::Context` as reference. It can't be defaulted and the fields could also be parameters.
- Use `Context` when data is required to perform an operation at all. See `gix_config::path::Context` as reference. It can't be defaulted and the fields could also be parameters.

## Lifetimes

Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ check: ## Build all code in suitable configurations
&& cargo check
cd gix-config-value && cargo check --all-features \
&& cargo check
cd git-config && cargo check --all-features \
cd gix-config && cargo check --all-features \
&& cargo check
cd git-transport && cargo check \
&& cargo check --features blocking-client \
Expand Down Expand Up @@ -274,17 +274,17 @@ stress: ## Run various algorithms on big repositories
rm -Rf delme; mkdir delme && time ./target/release/gix --verbose no-repo pack explode .git/objects/pack/*.idx delme/

$(MAKE) stress-commitgraph
$(MAKE) bench-git-config
$(MAKE) bench-gix-config

.PHONY: stress-commitgraph
stress-commitgraph: release-lean $(commit_graphs)
set -x; for path in $(wordlist 2, 999, $^); do \
time ./target/release/gix --verbose no-repo commit-graph verify $$path; \
done

.PHONY: bench-git-config
bench-git-config:
cd git-config && cargo bench
.PHONY: bench-gix-config
bench-gix-config:
cd gix-config && cargo bench

check-msrv-on-ci: ## Check the minimal support rust version for currently installed Rust version
rustc --version
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The command-line tools as well as the status of each crate is described in

For use in applications, look for the [`gix`](https://github.com/Byron/gitoxide/blob/main/crate-status.md#gix) crate,
which serves as entrypoint to the functionality provided by various lower-level plumbing crates like
[`git-config`](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-config).
[`gix-config`](https://github.com/Byron/gitoxide/blob/main/crate-status.md#gix-config).

### Crates

Expand All @@ -45,7 +45,7 @@ Documentation is complete and was reviewed at least once.
* [git-mailmap](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-mailmap)
* [git-chunk](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-chunk)
* [gix-ref](https://github.com/Byron/gitoxide/blob/main/crate-status.md#gix-ref)
* [git-config](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-config)
* [gix-config](https://github.com/Byron/gitoxide/blob/main/crate-status.md#gix-config)
* [gix-config-value](https://github.com/Byron/gitoxide/blob/main/crate-status.md#gix-config-value)
* [gix-glob](https://github.com/Byron/gitoxide/blob/main/crate-status.md#gix-glob)

Expand Down
2 changes: 1 addition & 1 deletion STABILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The following schematic helps to visualize what follows.
║ │ │ gix-hash │ │ gix-actor │ │ ║
║ │ └─────────────┘ └─────────────┘ │ ║ │
║ │ ┌─────────────┐ ┌─────────────┐ │ ║
║ │ │ gix-ref │ │ git-config │ │ ║ │
║ │ │ gix-ref │ │ gix-config │ │ ║ │
║ │ └─────────────┘ └─────────────┘ │ ║
║ │ ┌─────────────┐ ┌─────────────┐ │ ║ │
║ │ │ gix-object │ │ gix-lock │ │ ║
Expand Down
Loading

0 comments on commit 3a861c8

Please sign in to comment.