This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: onwards to git
Andreas Schwab wrote:
> Jim Meyering <jim@meyering.net> writes:
>
>> find -name .cvsignore | sed 's/.*/git mv & &/;s/cvsignore$/gitignore/' | sh
>> git commit -a -m 'rename each .cvsignore file to .gitignore'
>
> Since .gitignore applies recursively most of the subdir .gitignore files
> are redundant, and those that aren't can be reduced.
As penance for not looking, here's first, code to clean up,
then the resulting commits to do the job:
# Remove 28 obviously-redundant .gitignore files.
cp io/.gitignore k
for i in $(find . -name .gitignore); do
cmp -s $i k && { git rm $i; echo rm $i; } || echo $i differs
done
# Ensure that files we've removed are all subsumed by top-level .gitignore
perl -pe 's/(.*)/:$1:/' .gitignore > k-colon
# Print any entry in "k" that is not in the top-level .gitignore
$ for tok in $(cat k); do grep -q -F ":$tok:" k-colon || echo "$tok"; done
COPYING*
# That's ok. Remove COPYING* from all remaining .gitignore files:
perl -pi -e 's/ COPYING\* / /' $(find . -name .gitignore)
# mpn-copy.mk also shows up in a few, but it is long irrelevant; remove it
perl -pi -e 's/^mpn-copy\.mk$//' $(find . -name .gitignore)
# Remove subsumed entries from the remaining files, and sort.
for i in $(find . -name .gitignore); do
test $i = ./.gitignore && continue
for tok in $(cat $i); do grep -q -F ":$tok:" k-colon || echo "$tok"; done > t
sort -u -o t t
test -s t && mv t $i || git rm $i
done
# rpcsrc-4.0 is the sole entry in sunrpc/.gitignore; remove the file
git rm sunrpc/.gitignore
---------------------------------------------
I've done this in 4 commits for readability and ease of review.
If you prefer, I can squash them into a single commit before pushing.
Let me know.
>From acf926ffc87857a27b5527863e232852355b3f41 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 16 May 2009 09:00:35 +0200
Subject: [PATCH 1/4] remove obviously subsumed .gitignore files
---
.gitignore | 1 -
assert/.gitignore | 6 ------
ctype/.gitignore | 6 ------
dirent/.gitignore | 6 ------
elf/.gitignore | 6 ------
gmon/.gitignore | 6 ------
gnulib/.gitignore | 6 ------
grp/.gitignore | 6 ------
hurd/.gitignore | 6 ------
inet/.gitignore | 6 ------
intl/.gitignore | 6 ------
io/.gitignore | 6 ------
locale/.gitignore | 6 ------
mach/.gitignore | 6 ------
math/.gitignore | 6 ------
misc/.gitignore | 6 ------
posix/.gitignore | 6 ------
pwd/.gitignore | 6 ------
resolv/.gitignore | 6 ------
resource/.gitignore | 6 ------
setjmp/.gitignore | 6 ------
signal/.gitignore | 6 ------
socket/.gitignore | 6 ------
string/.gitignore | 6 ------
sysvipc/.gitignore | 6 ------
termios/.gitignore | 6 ------
time/.gitignore | 6 ------
wcsmbs/.gitignore | 6 ------
wctype/.gitignore | 6 ------
29 files changed, 0 insertions(+), 169 deletions(-)
delete mode 100644 assert/.gitignore
delete mode 100644 ctype/.gitignore
delete mode 100644 dirent/.gitignore
delete mode 100644 elf/.gitignore
delete mode 100644 gmon/.gitignore
delete mode 100644 gnulib/.gitignore
delete mode 100644 grp/.gitignore
delete mode 100644 hurd/.gitignore
delete mode 100644 inet/.gitignore
delete mode 100644 intl/.gitignore
delete mode 100644 io/.gitignore
delete mode 100644 locale/.gitignore
delete mode 100644 mach/.gitignore
delete mode 100644 math/.gitignore
delete mode 100644 misc/.gitignore
delete mode 100644 posix/.gitignore
delete mode 100644 pwd/.gitignore
delete mode 100644 resolv/.gitignore
delete mode 100644 resource/.gitignore
delete mode 100644 setjmp/.gitignore
delete mode 100644 signal/.gitignore
delete mode 100644 socket/.gitignore
delete mode 100644 string/.gitignore
delete mode 100644 sysvipc/.gitignore
delete mode 100644 termios/.gitignore
delete mode 100644 time/.gitignore
delete mode 100644 wcsmbs/.gitignore
delete mode 100644 wctype/.gitignore
diff --git a/.gitignore b/.gitignore
index d903bc6..3b3f0e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,7 +33,6 @@ regex
gpl2lgpl.sed
distinfo
-distinfo
test-include
analysis
diff --git a/assert/.gitignore b/assert/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/assert/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/ctype/.gitignore b/ctype/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/ctype/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/dirent/.gitignore b/dirent/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/dirent/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/elf/.gitignore b/elf/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/elf/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/gmon/.gitignore b/gmon/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/gmon/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/gnulib/.gitignore b/gnulib/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/gnulib/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/grp/.gitignore b/grp/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/grp/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/hurd/.gitignore b/hurd/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/hurd/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/inet/.gitignore b/inet/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/inet/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/intl/.gitignore b/intl/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/intl/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/io/.gitignore b/io/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/io/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/locale/.gitignore b/locale/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/locale/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/mach/.gitignore b/mach/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/mach/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/math/.gitignore b/math/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/math/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/misc/.gitignore b/misc/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/misc/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/posix/.gitignore b/posix/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/posix/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/pwd/.gitignore b/pwd/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/pwd/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/resolv/.gitignore b/resolv/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/resolv/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/resource/.gitignore b/resource/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/resource/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/setjmp/.gitignore b/setjmp/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/setjmp/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/signal/.gitignore b/signal/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/signal/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/socket/.gitignore b/socket/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/socket/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/string/.gitignore b/string/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/string/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/sysvipc/.gitignore b/sysvipc/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/sysvipc/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/termios/.gitignore b/termios/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/termios/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/time/.gitignore b/time/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/time/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/wcsmbs/.gitignore b/wcsmbs/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/wcsmbs/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
diff --git a/wctype/.gitignore b/wctype/.gitignore
deleted file mode 100644
index 3fc9f4c..0000000
--- a/wctype/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO COPYING* AUTHORS copyr-* copying.*
-glibc-*
-distinfo
--
1.6.3.1.83.g37eb7
>From 93bb1e867ac0dd82c808fe665795a72cc00d92b1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 16 May 2009 09:16:27 +0200
Subject: [PATCH 2/4] remove COPYING* from .gitignore files
---
csu/.gitignore | 2 +-
libio/.gitignore | 2 +-
stdio-common/.gitignore | 2 +-
stdlib/.gitignore | 2 +-
sunrpc/.gitignore | 2 +-
sysdeps/mach/hurd/.gitignore | 2 +-
sysdeps/unix/common/.gitignore | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/csu/.gitignore b/csu/.gitignore
index da6e41b..112daed 100644
--- a/csu/.gitignore
+++ b/csu/.gitignore
@@ -1,7 +1,7 @@
*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
distinfo
specs
diff --git a/libio/.gitignore b/libio/.gitignore
index 602b74c..97cc86e 100644
--- a/libio/.gitignore
+++ b/libio/.gitignore
@@ -1,7 +1,7 @@
*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
mpn-copy.mk
diff --git a/stdio-common/.gitignore b/stdio-common/.gitignore
index 602b74c..97cc86e 100644
--- a/stdio-common/.gitignore
+++ b/stdio-common/.gitignore
@@ -1,7 +1,7 @@
*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
mpn-copy.mk
diff --git a/stdlib/.gitignore b/stdlib/.gitignore
index 602b74c..97cc86e 100644
--- a/stdlib/.gitignore
+++ b/stdlib/.gitignore
@@ -1,7 +1,7 @@
*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
mpn-copy.mk
diff --git a/sunrpc/.gitignore b/sunrpc/.gitignore
index b2e79b5..0da51c4 100644
--- a/sunrpc/.gitignore
+++ b/sunrpc/.gitignore
@@ -1,7 +1,7 @@
*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
rpcsrc-4.0
diff --git a/sysdeps/mach/hurd/.gitignore b/sysdeps/mach/hurd/.gitignore
index 1f69fd9..164bcc8 100644
--- a/sysdeps/mach/hurd/.gitignore
+++ b/sysdeps/mach/hurd/.gitignore
@@ -1,4 +1,4 @@
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
diff --git a/sysdeps/unix/common/.gitignore b/sysdeps/unix/common/.gitignore
index 1f69fd9..164bcc8 100644
--- a/sysdeps/unix/common/.gitignore
+++ b/sysdeps/unix/common/.gitignore
@@ -1,4 +1,4 @@
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING* AUTHORS copyr-* copying.*
+TODO AUTHORS copyr-* copying.*
glibc-*
--
1.6.3.1.83.g37eb7
>From d3576477ae4360795ca816c353b004a2d026284a Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 16 May 2009 09:28:06 +0200
Subject: [PATCH 3/4] remove mpn-copy.mk from .gitignore files
---
libio/.gitignore | 2 +-
stdio-common/.gitignore | 2 +-
stdlib/.gitignore | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libio/.gitignore b/libio/.gitignore
index 97cc86e..1297114 100644
--- a/libio/.gitignore
+++ b/libio/.gitignore
@@ -4,5 +4,5 @@
TODO AUTHORS copyr-* copying.*
glibc-*
-mpn-copy.mk
+
distinfo
diff --git a/stdio-common/.gitignore b/stdio-common/.gitignore
index 97cc86e..1297114 100644
--- a/stdio-common/.gitignore
+++ b/stdio-common/.gitignore
@@ -4,5 +4,5 @@
TODO AUTHORS copyr-* copying.*
glibc-*
-mpn-copy.mk
+
distinfo
diff --git a/stdlib/.gitignore b/stdlib/.gitignore
index 97cc86e..1297114 100644
--- a/stdlib/.gitignore
+++ b/stdlib/.gitignore
@@ -4,5 +4,5 @@
TODO AUTHORS copyr-* copying.*
glibc-*
-mpn-copy.mk
+
distinfo
--
1.6.3.1.83.g37eb7
>From 7971b6cdd6ab2b4c3052034bbecffb5a39452944 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 16 May 2009 09:52:16 +0200
Subject: [PATCH 4/4] remove subsumed .gitignore entries and files
---
csu/.gitignore | 6 ------
libio/.gitignore | 8 --------
manual/.gitignore | 37 +++++++++++++++++--------------------
stdio-common/.gitignore | 8 --------
stdlib/.gitignore | 8 --------
sunrpc/.gitignore | 7 -------
sysdeps/mach/hurd/.gitignore | 4 ----
sysdeps/unix/common/.gitignore | 4 ----
8 files changed, 17 insertions(+), 65 deletions(-)
delete mode 100644 libio/.gitignore
delete mode 100644 stdio-common/.gitignore
delete mode 100644 stdlib/.gitignore
delete mode 100644 sysdeps/mach/hurd/.gitignore
delete mode 100644 sysdeps/unix/common/.gitignore
diff --git a/csu/.gitignore b/csu/.gitignore
index 112daed..d8933cf 100644
--- a/csu/.gitignore
+++ b/csu/.gitignore
@@ -1,7 +1 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
-distinfo
specs
diff --git a/libio/.gitignore b/libio/.gitignore
deleted file mode 100644
index 1297114..0000000
--- a/libio/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
-
-
-distinfo
diff --git a/manual/.gitignore b/manual/.gitignore
index 27f045c..e92cef3 100644
--- a/manual/.gitignore
+++ b/manual/.gitignore
@@ -1,32 +1,29 @@
-*.dvi*
-*.info*
-*.c.texi
-*.ps
-*.pdf
-*.toc
*.aux
-*.log
-*.tmp
+*.c.texi
*.cp
*.cps
+*.dvi*
*.fn
*.fns
-*.vr
-*.vrs
-*.tp
-*.tps
+*.info*
*.ky
*.kys
+*.log
+*.pdf
*.pg
*.pgs
-
-texis
-top-menu.texi
+*.ps
+*.tmp
+*.toc
+*.tp
+*.tps
+*.vr
+*.vrs
chapters.texi
-summary.texi
-stamp-*
-distinfo
-dir-add.texinfo
dir-add.texi
-
+dir-add.texinfo
libm-err.texi
+stamp-*
+summary.texi
+texis
+top-menu.texi
diff --git a/stdio-common/.gitignore b/stdio-common/.gitignore
deleted file mode 100644
index 1297114..0000000
--- a/stdio-common/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
-
-
-distinfo
diff --git a/stdlib/.gitignore b/stdlib/.gitignore
deleted file mode 100644
index 1297114..0000000
--- a/stdlib/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
-
-
-distinfo
diff --git a/sunrpc/.gitignore b/sunrpc/.gitignore
index 0da51c4..fd6ab6b 100644
--- a/sunrpc/.gitignore
+++ b/sunrpc/.gitignore
@@ -1,8 +1 @@
-*.d *.o *.so *.po *.go stamp.* *.stamp *.ustamp *.udeps
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
-
rpcsrc-4.0
-distinfo
diff --git a/sysdeps/mach/hurd/.gitignore b/sysdeps/mach/hurd/.gitignore
deleted file mode 100644
index 164bcc8..0000000
--- a/sysdeps/mach/hurd/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
diff --git a/sysdeps/unix/common/.gitignore b/sysdeps/unix/common/.gitignore
deleted file mode 100644
index 164bcc8..0000000
--- a/sysdeps/unix/common/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-*.gz *.Z *.tar *.tgz
-=*
-TODO AUTHORS copyr-* copying.*
-glibc-*
--
1.6.3.1.83.g37eb7