@@ 1,20 1,20 @@
 use crate::config::CONFIG;
-use crate::git::blame::blame;
+
 use crate::git::commits::get_commits;
 use crate::git::diffs::diffs;
-use crate::git::file::file;
+
 use git2::DiffLineType::*;
 use serde_derive::Serialize;
 
 use crate::utils::repo_config::repo_config;
-use crate::PathBufWithDotfiles;
+
 use git2::Delta::*;
 use rocket_dyn_templates::{context, Template};
-use std::ffi::OsStr;
-use std::path::Path;
-use syntect::highlighting::ThemeSet;
-use syntect::html::highlighted_html_for_string;
-use syntect::parsing::SyntaxSet;
+
+
+
+
+
 
 #[get("/<repo>/commit/<oid>", rank = 2)]
 pub fn commit(repo: String, oid: String) -> Option<Template> {
@@ 125,10 125,10 @@ pub fn commit(repo: String, oid: String) -> Option<Template> {
 pub fn patch(repo: String, oid: String) -> Option<Vec<u8>> {
     let mut repo_path = CONFIG.git_location.clone();
     repo_path.push(format!("{}.git", repo));
-    let repo_clone = repo.clone();
+    let _repo_clone = repo.clone();
     let repo = git2::Repository::open(repo_path).ok()?;
     let commit = repo.find_commit(git2::Oid::from_str(&oid).ok()?).ok()?;
-    let diff = diffs(commit, &repo)?;
+    let _diff = diffs(commit, &repo)?;
     None
 }