|
1 | 1 | #!/usr/bin/perl |
2 | 2 | # |
3 | 3 | # This tool will print vaguely pretty information about a pack. It |
4 | | -# expects the output of "git-verify-pack -v" as input on stdin. |
| 4 | +# expects the output of "git verify-pack -v" as input on stdin. |
5 | 5 | # |
6 | | -# $ git-verify-pack -v | packinfo.pl |
| 6 | +# $ git verify-pack -v | packinfo.pl |
7 | 7 | # |
8 | 8 | # This prints some full-pack statistics; currently "all sizes", "all |
9 | 9 | # path sizes", "tree sizes", "tree path sizes", and "depths". |
|
20 | 20 | # |
21 | 21 | # When run as: |
22 | 22 | # |
23 | | -# $ git-verify-pack -v | packinfo.pl -tree |
| 23 | +# $ git verify-pack -v | packinfo.pl -tree |
24 | 24 | # |
25 | 25 | # the trees of objects are output along with the stats. This looks |
26 | 26 | # like: |
|
43 | 43 | # |
44 | 44 | # When run as: |
45 | 45 | # |
46 | | -# $ git-verify-pack -v | packinfo.pl -tree -filenames |
| 46 | +# $ git verify-pack -v | packinfo.pl -tree -filenames |
47 | 47 | # |
48 | 48 | # it adds filenames to the tree. Getting this information is slow: |
49 | 49 | # |
|
58 | 58 | # |
59 | 59 | # When run as: |
60 | 60 | # |
61 | | -# $ git-verify-pack -v | packinfo.pl -dump |
| 61 | +# $ git verify-pack -v | packinfo.pl -dump |
62 | 62 | # |
63 | 63 | # it prints out "sha1 size pathsize depth" for each sha1 in lexical |
64 | 64 | # order. |
|
106 | 106 | } |
107 | 107 |
|
108 | 108 | if ($filenames && ($tree || $dump)) { |
109 | | - open(NAMES, "git-name-rev --all|"); |
| 109 | + open(NAMES, "git name-rev --all|"); |
110 | 110 | while (<NAMES>) { |
111 | 111 | if (/^(\S+)\s+(.*)$/) { |
112 | 112 | my ($sha1, $name) = ($1, $2); |
|
117 | 117 |
|
118 | 118 | for my $commit (@commits) { |
119 | 119 | my $name = $names{$commit}; |
120 | | - open(TREE, "git-ls-tree -t -r $commit|"); |
| 120 | + open(TREE, "git ls-tree -t -r $commit|"); |
121 | 121 | print STDERR "Plumbing tree $name\n"; |
122 | 122 | while (<TREE>) { |
123 | 123 | if (/^(\S+)\s+(\S+)\s+(\S+)\s+(.*)$/) { |
|
0 commit comments