Skip to content

Commit

Permalink
Fetch works, but needs more printing of information after the fact (#450
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Byron committed Oct 2, 2022
1 parent 8e9e0b2 commit 57fab9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion gitoxide-core/src/repository/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub(crate) mod function {
.with_dry_run(dry_run)
.receive(&git::interrupt::IS_INTERRUPTED)?;

dbg!(res);
Ok(())
}
}
2 changes: 1 addition & 1 deletion gitoxide-core/src/repository/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ pub(crate) fn by_name_or_url<'repo>(
use anyhow::Context;
Ok(match name_or_url {
Some(name) => {
if name.contains('/') {
if name.contains('/') || name == "." {
repo.remote_at(git::url::parse(name.into())?)?
} else {
repo.find_remote(&name)?
Expand Down

0 comments on commit 57fab9a

Please sign in to comment.