diff options
author | Mattias Andrée <maandree@kth.se> | 2024-01-20 14:58:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-01-20 14:58:52 +0100 |
commit | 5f15e620f1d8ce9bf7e8e13e9df5daa00c07df92 (patch) | |
tree | 2546eccc995bc7f13d0b4b0522c996c8558388e9 /git | |
parent | Update setres (diff) | |
download | dotfiles-5f15e620f1d8ce9bf7e8e13e9df5daa00c07df92.tar.gz dotfiles-5f15e620f1d8ce9bf7e8e13e9df5daa00c07df92.tar.bz2 dotfiles-5f15e620f1d8ce9bf7e8e13e9df5daa00c07df92.tar.xz |
git/new-c-proj: ensure that .git/info/ exists
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'git')
-rwxr-xr-x | git/new-c-proj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git/new-c-proj b/git/new-c-proj index ce04f39..881e670 100755 --- a/git/new-c-proj +++ b/git/new-c-proj @@ -51,6 +51,7 @@ cat > .gitignore <<EOF *.gcda EOF +mkdir -p -- .git/info printf '_*\n' >> .git/info/exclude if printf '%s\n' "$1" | grep '^lib' >/dev/null 2>/dev/null; then |