Skip to content

Commit

Permalink
Auto merge of #7512 - Xyene:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix typo in git index initialization error path

This PR proposes a fix for a small typo I ran into while using `cargo`.
  • Loading branch information
bors committed Oct 15, 2019
2 parents c25db6c + aaf8167 commit 3a9abe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/sources/registry/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl<'cfg> RemoteRegistry<'cfg> {
let mut opts = git2::RepositoryInitOptions::new();
opts.external_template(false);
Ok(git2::Repository::init_opts(&path, &opts)
.chain_err(|| "failed to initialized index git repository")?)
.chain_err(|| "failed to initialize index git repository")?)
}
}
})
Expand Down

0 comments on commit 3a9abe3

Please sign in to comment.