Skip to content

Commit 2fe70f9

Browse files
committed
Merge branch 'main' into git-sec
2 parents 8443330 + 498e44f commit 2fe70f9

File tree

11 files changed

+117
-0
lines changed

11 files changed

+117
-0
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ members = [
147147
"git-mailmap",
148148
"git-note",
149149
"git-sec",
150+
"git-lfs",
151+
"git-rebase",
150152
"git-submodule",
151153
"git-transport",
152154
"git-credentials",

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ Crates that seem feature complete and need to see some more use before they can
125125
* [git-sec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-sec)
126126
* [git-note](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-note)
127127
* [git-date](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-date)
128+
* [git-lfs](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-lfs)
129+
* [git-rebase](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-rebase)
128130
* [git-pathspec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-pathspec)
129131
* [git-subomdule](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-submodule)
130132
* [git-tui](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tui)

crate-status.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,15 @@ A mechanism to associate metadata with any object, and keep revisions of it usin
241241

242242
Provides a trust model to share across gitoxide crates. It helps configuring how to interact with external processes, among other things.
243243

244+
### git-rebase
245+
* [ ] obtain rebase status
246+
* [ ] drive a rebase operation
247+
248+
### git-lfs
249+
250+
Implement git large file support using the process protocol and make it flexible enough to handle a variety of cases.
251+
Make it the best-performing implementation and the most convenient one.
252+
244253
### git-glob
245254
* [x] parse pattern
246255
* [x] a type for pattern matching of paths and non-paths, optionally case-insensitively.

git-lfs/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
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).
7+
8+
## 0.0.0 (2022-04-17)
9+
10+
An empty crate without any content to reserve the name for the gitoxide project.
11+
12+
### Commit Statistics
13+
14+
<csr-read-only-do-not-edit/>
15+
16+
- 1 commit contributed to the release.
17+
- 0 commits where understood as [conventional](https://www.conventionalcommits.org).
18+
- 1 unique issue was worked on: [#382](https://github.com/Byron/gitoxide/issues/382)
19+
20+
### Commit Details
21+
22+
<csr-read-only-do-not-edit/>
23+
24+
<details><summary>view details</summary>
25+
26+
* **[#382](https://github.com/Byron/gitoxide/issues/382)**
27+
- add dummy crates for git-rebase and git-lfs ([`94c8122`](https://github.com/Byron/gitoxide/commit/94c81226e2713c869462241429df608e04c4418d))
28+
</details>
29+

git-lfs/Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
name = "git-lfs"
3+
version = "0.0.0"
4+
repository = "https://github.com/Byron/gitoxide"
5+
license = "MIT/Apache-2.0"
6+
description = "A WIP crate of the gitoxide project dealing with handling git large file support"
7+
authors = ["Sebastian Thiel <[email protected]>"]
8+
edition = "2018"
9+
10+
[lib]
11+
doctest = false
12+
13+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14+
15+
[dependencies]

git-lfs/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#![forbid(unsafe_code, rust_2018_idioms)]

git-lock/src/acquire.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ fn lock_with_mode<T>(
121121
attempts += 1;
122122
match try_lock(&lock_path, directory, cleanup.clone()) {
123123
Ok(v) => return Ok((lock_path, v)),
124+
#[cfg(windows)]
125+
Err(err) if err.kind() == AlreadyExists || err.kind() == PermissionDenied => {
126+
std::thread::sleep(wait);
127+
continue;
128+
}
129+
#[cfg(not(windows))]
124130
Err(err) if err.kind() == AlreadyExists => {
125131
std::thread::sleep(wait);
126132
continue;

git-rebase/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
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).
7+
8+
## 0.0.0 (2022-04-17)
9+
10+
An empty crate without any content to reserve the name for the gitoxide project.
11+
12+
### Commit Statistics
13+
14+
<csr-read-only-do-not-edit/>
15+
16+
- 1 commit contributed to the release.
17+
- 0 commits where understood as [conventional](https://www.conventionalcommits.org).
18+
- 1 unique issue was worked on: [#382](https://github.com/Byron/gitoxide/issues/382)
19+
20+
### Commit Details
21+
22+
<csr-read-only-do-not-edit/>
23+
24+
<details><summary>view details</summary>
25+
26+
* **[#382](https://github.com/Byron/gitoxide/issues/382)**
27+
- add dummy crates for git-rebase and git-lfs ([`94c8122`](https://github.com/Byron/gitoxide/commit/94c81226e2713c869462241429df608e04c4418d))
28+
</details>
29+

git-rebase/Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
name = "git-rebase"
3+
version = "0.0.0"
4+
repository = "https://github.com/Byron/gitoxide"
5+
license = "MIT/Apache-2.0"
6+
description = "A WIP crate of the gitoxide project dealing rebases"
7+
authors = ["Sebastian Thiel <[email protected]>"]
8+
edition = "2018"
9+
10+
[lib]
11+
doctest = false
12+
13+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14+
15+
[dependencies]

git-rebase/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#![forbid(unsafe_code, rust_2018_idioms)]

0 commit comments

Comments
 (0)