Commit d6cece5
diff_aligned_abbrev: use "struct oid"
Since we're modifying this function anyway, it's a good time
to update it to the more modern "struct oid". We can also
drop some of the magic numbers in favor of GIT_SHA1_HEXSZ,
along with some descriptive comments.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent d5e3b01 commit d6cece5
3 files changed
+14
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
| 1206 | + | |
1207 | 1207 | | |
1208 | | - | |
| 1208 | + | |
1209 | 1209 | | |
1210 | 1210 | | |
1211 | 1211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4157 | 4157 | | |
4158 | 4158 | | |
4159 | 4159 | | |
4160 | | - | |
| 4160 | + | |
4161 | 4161 | | |
4162 | 4162 | | |
4163 | 4163 | | |
4164 | | - | |
4165 | | - | |
4166 | 4164 | | |
4167 | | - | |
| 4165 | + | |
| 4166 | + | |
| 4167 | + | |
| 4168 | + | |
4168 | 4169 | | |
4169 | 4170 | | |
4170 | 4171 | | |
| |||
4186 | 4187 | | |
4187 | 4188 | | |
4188 | 4189 | | |
4189 | | - | |
4190 | | - | |
| 4190 | + | |
| 4191 | + | |
4191 | 4192 | | |
4192 | 4193 | | |
4193 | 4194 | | |
4194 | 4195 | | |
4195 | 4196 | | |
4196 | 4197 | | |
4197 | | - | |
| 4198 | + | |
| 4199 | + | |
4198 | 4200 | | |
4199 | 4201 | | |
4200 | 4202 | | |
| |||
4205 | 4207 | | |
4206 | 4208 | | |
4207 | 4209 | | |
4208 | | - | |
| 4210 | + | |
4209 | 4211 | | |
4210 | | - | |
| 4212 | + | |
4211 | 4213 | | |
4212 | 4214 | | |
4213 | 4215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments