aboutsummaryrefslogtreecommitdiffstats
path: root/git/new-c-proj
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-18 11:40:44 +0100
committerMattias Andrée <maandree@kth.se>2024-02-18 11:40:44 +0100
commit43dc31e15425d128ff7546894638d21eed252868 (patch)
tree265e126c94d20d54a92740385c478d9da9fbeb36 /git/new-c-proj
parentgit/new-c-proj: ensure that .git/info/ exists (diff)
downloaddotfiles-43dc31e15425d128ff7546894638d21eed252868.tar.gz
dotfiles-43dc31e15425d128ff7546894638d21eed252868.tar.bz2
dotfiles-43dc31e15425d128ff7546894638d21eed252868.tar.xz
git/new-c-proj: add .hidden and .makeenv to .git/info/exclude
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'git/new-c-proj')
-rwxr-xr-xgit/new-c-proj2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/new-c-proj b/git/new-c-proj
index 881e670..7676e9f 100755
--- a/git/new-c-proj
+++ b/git/new-c-proj
@@ -52,7 +52,7 @@ cat > .gitignore <<EOF
EOF
mkdir -p -- .git/info
-printf '_*\n' >> .git/info/exclude
+printf '%s\n' '_*' '.hidden' '.makeenv' >> .git/info/exclude
if printf '%s\n' "$1" | grep '^lib' >/dev/null 2>/dev/null; then
UPPERCASE="$(printf '%s\n' "$1" | tr '[a-z-]' '[A-Z_]')"