Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Keychain project: enforce consistent Unix LF line endings on all platforms
# Normalize all text files to LF on commit and checkout
* text eol=lf

# (Redundant clarity rules; kept for readability and future maintenance)
*.sh text eol=lf
*.md text eol=lf
*.txt text eol=lf
*.pod text eol=lf
*.in text eol=lf
*.spec.in text eol=lf
Makefile text eol=lf

# If any binary assets are added later, declare them explicitly, e.g.:
# *.png binary
# *.jpg binary
# *.gif binary

# Prevent accidental CRLF introduction in scripts that may be generated
scripts/* text eol=lf
docs/* text eol=lf
2 changes: 1 addition & 1 deletion keychain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ startagent_gpg() {
[ -n "${timeout}" ] && gpg_opts="$gpg_opts --default-cache-ttl $(( timeout * 60 )) --max-cache-ttl $(( timeout * 60 ))"
$ssh_spawn_gpg && gpg_opts="$gpg_opts --enable-ssh-support"
mesg "Starting gpg-agent..."
# shellcheck disable=SC2086 # this is intentionalh
# shellcheck disable=SC2086 # this is intentional
pidfile_out="$(gpg-agent --sh $gpg_opts)"
return $?
fi
Expand Down