2010-09-01 11:10:45 .gitignore
Rob Maris (GERMANY)
Message: 93031
After having done make, the distribution shows some untracked files, mainly from /user. The kernel behaves better in this respect, probably also due to the effort taken to create subdirectory individual .gitignore files.
I'd prefer to have the "global" gitignore exclude patterns like /user/* followed by /user/*.*, but I'm not sure if this is a good idea. Including file mode in the patterns is not supported as far as I can see (exclude x-flag...).
Any hint which can be given?
Anyway, I have set build-* as a pattern to ignore common build directories whereever they exist.
An extract of git status:
# lib/zlib/libz.so.1
# lib/zlib/libz.so.1.2.3
# tools/autotools-cache/build/27292/Makefile
# tools/autotools-cache/build/27292/config.log
# tools/autotools-cache/build/27292/config.status
# tools/autotools-cache/build/27292/configure.lineno
# tools/autotools-cache/build/27618/bfin-unknown-linux-uclibc
# tools/autotools-cache/build/bfin-linux-uclibc
# tools/autotools-cache/build/config.cache
# tools/bfin-linux-uclibc-cpp
# tools/bfin-linux-uclibc-g++
# tools/bfin-linux-uclibc-gcc
# tools/bfin-linux-uclibc-ld
# tools/bfin-linux-uclibc-pkg-config
# user/busybox/depmod.pl
# user/dhcpcd-new/dhcpcd
# user/dhrystone/dhrystone
# user/fdisk/fdisk
# user/ftp/ftp/ftp
# user/ftpd/ftpd
# user/inetd/inetd
# user/init/expand
# user/init/init
# user/init/simpleinit
# user/mtd-utils/mkfs.jffs2
# user/net-tools/arp
# user/net-tools/hostname
# user/net-tools/ifconfig
# user/net-tools/netstat
# user/net-tools/plipconfig
# user/net-tools/rarp
# user/net-tools/route
# user/net-tools/slattach
# user/net-tools/version.h
# user/play/play
# user/play/tone
...
QuoteReplyEditDelete
2010-09-01 11:22:47 Re: .gitignore
Mike Frysinger (UNITED STATES)
Message: 93033
uclinux-dist is maintained in svn, so there is no automatic svn:ignore->.gitignore translation going on
the top level .gitignore is just something i threw together one time
QuoteReplyEditDelete
2010-09-03 11:10:53 Re: .gitignore
Rob Maris (GERMANY)
Message: 93109
Mike, I saw that you pushed an update to .gitignore.
In parallel, I have improvements, too - escpecially regarding ignores in user/ and tools/, see patch. Seems to operate in the desired way - filters out most of generated binaries and *.so.n.
diff