diff options
author | Mattias Andrée <maandree@kth.se> | 2024-02-18 11:40:44 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-02-18 11:40:44 +0100 |
commit | 43dc31e15425d128ff7546894638d21eed252868 (patch) | |
tree | 265e126c94d20d54a92740385c478d9da9fbeb36 /git/new-c-proj | |
parent | git/new-c-proj: ensure that .git/info/ exists (diff) | |
download | dotfiles-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-x | git/new-c-proj | 2 |
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_]')" |