Commit 15316a4
commit-graph: rewrite to use checksum_valid()
Rewrite an existing caller in `git commit-graph verify` to take
advantage of checksum_valid().
Note that the replacement isn't a verbatim cut-and-paste, since the new
function avoids using hashfile at all and instead talks to the_hash_algo
directly, but it is functionally equivalent.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent f9221e2 commit 15316a4
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2422 | 2422 | | |
2423 | 2423 | | |
2424 | 2424 | | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
2425 | 2430 | | |
2426 | 2431 | | |
2427 | 2432 | | |
2428 | 2433 | | |
2429 | | - | |
2430 | 2434 | | |
2431 | | - | |
2432 | | - | |
2433 | 2435 | | |
2434 | 2436 | | |
2435 | 2437 | | |
| |||
2442 | 2444 | | |
2443 | 2445 | | |
2444 | 2446 | | |
2445 | | - | |
2446 | | - | |
2447 | | - | |
2448 | | - | |
2449 | | - | |
| 2447 | + | |
2450 | 2448 | | |
2451 | 2449 | | |
2452 | 2450 | | |
| |||
0 commit comments