Performance optimization for detection of modified submodules
[git/mingw/4msysgit.git] / Documentation / fix-texi.perl
blobff7d78f620a35fb66c47e50c4eceecff00b643b3
1 #!/usr/bin/perl -w
3 while (<>) {
4 if (/^\@setfilename/) {
5 $_ = "\@setfilename git.info\n";
6 } elsif (/^\@direntry/) {
7 print '@dircategory Development
8 @direntry
9 * Git: (git). A fast distributed revision control system
10 @end direntry
11 '; }
12 unless (/^\@direntry/../^\@end direntry/) {
13 print;