index-pack: use strip_suffix to avoid magic numbers
[git/mingw.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;