changed head to .head
This commit is contained in:
parent
475e6ff43d
commit
54fa2098ea
|
@ -38,7 +38,8 @@ fn opts() -> Options {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn convert_all(src_path: &Path, dist_path: &Path) {
|
fn convert_all(src_path: &Path, dist_path: &Path) {
|
||||||
let head = std::fs::read_to_string("./head").unwrap_or_default();
|
let head_path = src_path.join(".head");
|
||||||
|
let head = std::fs::read_to_string(head_path).unwrap_or_default();
|
||||||
for entry in ignore::Walk::new(src_path) {
|
for entry in ignore::Walk::new(src_path) {
|
||||||
let entry = match entry {
|
let entry = match entry {
|
||||||
Ok(p) => p,
|
Ok(p) => p,
|
||||||
|
|
Loading…
Reference in a new issue