"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
portable: make .gitignore work with got status
To:
gameoftrees@openbsd.org
Date:
Fri, 1 Oct 2021 10:50:45 +0200

Download raw body.

Thread
Patterns in our portable .gitignore files do not work with 'got status'.
This makes the patterns work with both Got and Git.

ok?

diff cc1cb6fe00a13f31ed58d5f0d2e612f74b83acc2 /home/stsp/src/got-portable
blob - 99173d49290ba9b60f69d539d9e5a4aacd4ae2a4
file + .gitignore
--- .gitignore
+++ .gitignore
@@ -2,23 +2,25 @@
 **/Makefile.in
 **/Makefile.linux
 **/obj
-*.core
-*.o
+**/*.core
+**/*.o
+**/*.Po
 *~
-.ccls-cache/
-.deps/
+.ccls-cache/*
+.deps/*
 aclocal.m4
-autom4te.cache/
+autom4te.cache/*
 compat/.dirstamp
 compat/libopenbsd-compat.a
 config.log
 config.status
 configure
 core
-etc/
+etc/*
 got/got
 gotadmin/gotadmin
 lib/.dirstamp
+lib/.deps/*
 libexec/got-fetch-pack/got-fetch-pack
 libexec/got-index-pack/got-index-pack
 libexec/got-read-blob/got-read-blob