diff --git a/Makefile.in b/Makefile.in
index e6dff63e006..45f4dab6baa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -136,7 +136,7 @@ clean:
# === Documentation
DOCS := index faq config guide manifest build-script pkgid-spec crates-io \
- environment-variables specifying-dependencies
+ environment-variables specifying-dependencies source-replacement
DOC_DIR := target/doc
DOC_OPTS := --markdown-no-toc \
--markdown-css stylesheets/normalize.css \
diff --git a/src/bin/git_checkout.rs b/src/bin/git_checkout.rs
index e67844cce57..f7762483ea6 100644
--- a/src/bin/git_checkout.rs
+++ b/src/bin/git_checkout.rs
@@ -1,6 +1,6 @@
use cargo::core::source::{Source, SourceId, GitReference};
use cargo::sources::git::{GitSource};
-use cargo::util::{Config, CliResult, CliError, human, ToUrl};
+use cargo::util::{Config, CliResult, ToUrl};
#[derive(RustcDecodable)]
pub struct Options {
@@ -37,20 +37,14 @@ pub fn execute(options: Options, config: &Config) -> CliResult