From 759a40afdcaf67e424b2ce5117f788ea1bd840c7 Mon Sep 17 00:00:00 2001 From: Jheison Martinez Bolivar Date: Wed, 1 Apr 2026 18:15:59 -0500 Subject: [PATCH 1/3] fix: move PermissionsExt import inside cfg(unix) block for Windows compatibility --- src/hooks/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/mod.rs b/src/hooks/mod.rs index df682d0..5f642ed 100644 --- a/src/hooks/mod.rs +++ b/src/hooks/mod.rs @@ -1,6 +1,6 @@ use anyhow::{Context, Result}; use clap::Subcommand; -use std::{fs, os::unix::fs::PermissionsExt, path::Path}; +use std::{fs, path::Path}; use crate::utils::{confirm, find_repo_root}; @@ -166,6 +166,7 @@ fn show(hook: &str) -> Result<()> { #[cfg(unix)] fn set_executable(path: &Path) -> Result<()> { + use std::os::unix::fs::PermissionsExt; let mut perms = fs::metadata(path)?.permissions(); perms.set_mode(0o755); fs::set_permissions(path, perms).context("Failed to set executable permission")?; From 6c2c9fa3922f66bfcd2325a00fe1ee73cb7d6a56 Mon Sep 17 00:00:00 2001 From: Jheison Martinez Bolivar Date: Wed, 1 Apr 2026 18:21:53 -0500 Subject: [PATCH 2/3] fix: bump to 0.1.2 to trigger release on main PR --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 78c704c..ed24e97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gitkit" -version = "0.1.1" +version = "0.1.2" edition = "2021" description = "Standalone CLI for configuring git repos — hooks, .gitignore, and .gitattributes" license = "MIT" From 7bcc83b6bfeade74de37f8080746c98563bf0c2b Mon Sep 17 00:00:00 2001 From: Jheison Martinez Bolivar Date: Wed, 1 Apr 2026 18:27:04 -0500 Subject: [PATCH 3/3] ci: remove push trigger to avoid duplicate job runs --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08b4101..ca01695 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,6 @@ name: CI on: - push: - branches: - - '**' pull_request: branches: - develop