This commit is contained in:
Nikita Galaiko 2023-03-22 15:58:19 +01:00
parent 1ffb00b106
commit e76c88b486
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -7,7 +7,7 @@ pub async fn on_git_file_change<P: AsRef<Path>>(
project: &projects::Project,
path: P,
) -> Result<()> {
if path.as_ref().ne(Path::new(".git/log/HEAD")) {
if path.as_ref().ne(Path::new(".git/logs/HEAD")) {
return Ok(());
}
let event = events::Event::git(&project);