- Notifications
You must be signed in to change notification settings - Fork5
Commit901a5a7
committed
Minor improvements to git_changelog.
Avoid depending on Date::Calc, which isn't in a basic Perl installation,when we can equally well use Time::Local which is. Also fix the parsingof timestamps to take heed of the timezone. (It looks like cvs2git emittedall commit timestamps with zone GMT, so this refinement might've lookedunnecessary when looking at converted data; but it's needed now.)Fix parsing of message bodies so that blank lines that may or may not getemitted by "git log" aren't confused with real data. This avoids strangeformatting of the oldest commit on a branch.Check child-process exit status, so that we actually notice if "git log"fails, and so that we don't accumulate zombie children.1 parentce1dcd4 commit901a5a7
1 file changed
+16
-6
lines changedLines changed: 16 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
| |||
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
72 |
| - | |
| 73 | + | |
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
79 | 83 |
| |
80 | 84 |
| |
81 | 85 |
| |
| 86 | + | |
82 | 87 |
| |
83 | 88 |
| |
84 | 89 |
| |
| |||
103 | 108 |
| |
104 | 109 |
| |
105 | 110 |
| |
| 111 | + | |
106 | 112 |
| |
| 113 | + | |
107 | 114 |
| |
108 | 115 |
| |
109 | 116 |
| |
| |||
149 | 156 |
| |
150 | 157 |
| |
151 | 158 |
| |
152 |
| - | |
153 |
| - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
154 | 164 |
| |
155 | 165 |
| |
156 | 166 |
| |
|
0 commit comments
Comments
(0)