Skip to content

Commit

Permalink
⏪️ Revert "🔥 Remove exec line from git hook"
Browse files Browse the repository at this point in the history
This reverts commit d13b964.

Turns out this line was needed after all. Without it, you end up with
some garbage in the search bar of the CLI when using `git commit -a`.
  • Loading branch information
zeenix committed Dec 23, 2023
1 parent 91b8cfc commit 9a6dfb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,6 @@ const HOOK_PATH: &str = ".git/hooks/prepare-commit-msg";
const HOOK_CONTENT: &str = r#"
#!/usr/bin/env bash
# gimoji as a commit hook
exec < /dev/tty
gimoji --hook $1 $2
"#;

0 comments on commit 9a6dfb5

Please sign in to comment.