465a006027bc2ab744de0b7134cc11c2aefac213
Replace the previous simple one-liner with a small POSIX shell wrapper that: - provides a usage() help text and -h flag - supports -d <bare-repo-dir> to set the bare repo directory (default: "./.git-repo") - validates required arguments and prints helpful errors with non-zero exit codes - creates the workspace directory if it doesn't exist - uses safer variable handling when constructing the git clone and .git file - switches to /bin/sh -e for stricter, more portable execution This makes the script more robust, user-friendly and configurable while preserving the original behavior of producing a gitdir file and configuring remote.origin.fetch. BREAKING CHANGE: default bare repository directory changed from "./.bare" to "./.git-repo". If you rely on the previous default path, pass -d to restore the old location.
Description
No description provided
184 MiB
Languages
Emacs Lisp
34.5%
Lua
30.3%
Shell
17.4%
Go Template
16.5%
CSS
0.9%
Other
0.1%