Skip to content

Commit

Permalink
Removed git exclude file
Browse files Browse the repository at this point in the history
Modifications to .git/info/exclude should be done using "commands" in
profiles.
  • Loading branch information
jalexvig committed Aug 28, 2018
1 parent 1fba3f4 commit ac01823
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use serde_json::Value;
use std::env;
use std::fs;
use std::io::ErrorKind;
use std::io::Write;
use std::path::Path;
use std::process::Command;

Expand Down Expand Up @@ -293,11 +292,4 @@ fn create_git_repo(name: &str) {
.arg("init")
.output()
.expect("failed to initialize git repo");

let mut file = fs::OpenOptions::new()
.append(true)
.open(".git/info/exclude")
.unwrap();

write!(file, "{}", include_str!("resources/gitexclude")).expect("failed to update gitexclude");
}
2 changes: 0 additions & 2 deletions src/resources/gitexclude

This file was deleted.

0 comments on commit ac01823

Please sign in to comment.