~/selfhut

c9adbeeff82ee0d93b9034dd61c2ae0715ffeea0 — Arthur Melton 0f44ce25 2 years ago
dont go in the .git subdirectory
1 files changed, 0 insertions(+), 1 deletions(-)

M src/clone.rs
M src/clone.rs => src/clone.rs +0 -1
@@ 7,7 7,6 @@ use std::path::Path;

pub async fn clone(repo: String, path: PathBufWithDotfiles) -> Option<NamedFile> {
    let mut repo_path = CONFIG.git_location.clone();
    repo_path.push(format!("{}.git", repo));
    repo_path.push(".git");
    repo_path.push(path.get());
    NamedFile::open(repo_path).await.ok()
}