Skip to content

Commit 7cec2b6

Browse files
committed
goodbye git-core, hello git-repository
It's more specfic, and it will be easier to focus on what should be init. 'core' is more like a catch-all and can be confusing to everyone.
1 parent 08b6b86 commit 7cec2b6

22 files changed

+12
-12
lines changed

Diff for: Cargo.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test = false
1313
doctest = false
1414

1515
[dependencies]
16-
git-core = { version = "0.1.0", path = "git-core" }
16+
git-repository = { version = "0.1.0", path = "git-repository" }
1717
anyhow = "1.0.31"
1818
structopt = "0.3.14"
1919

@@ -28,7 +28,7 @@ incremental = false
2828
members = [
2929
"git-object",
3030
"git-odb",
31-
"git-core",
31+
"git-repository",
3232
"git-transport",
3333
"demos"
3434
]

Diff for: git-core/Cargo.toml renamed to git-repository/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "git-core"
2+
name = "git-repository"
33
version = "0.1.0"
44
authors = ["Sebastian Thiel <[email protected]>"]
55
publish = false
File renamed without changes.
File renamed without changes.

Diff for: src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn main() -> Result<()> {
2929
let args = options::Args::from_args();
3030
match args.cmd {
3131
options::Subcommands::Init => {
32-
git_core::init::repository().with_context(|| "Repository initialization failed")
32+
git_repository::init::repository().with_context(|| "Repository initialization failed")
3333
}
3434
}?;
3535
Ok(())

0 commit comments

Comments
 (0)