Commit 1f7117e
sha1_file: perform object replacement in sha1_object_info_extended()
sha1_object_info_extended() should perform object replacement
if it is needed.
The simplest way to do that is to make it call
lookup_replace_object_extended().
And now its "unsigned flags" parameter is used as it is passed
to lookup_replace_object_extended().
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 303c5d6 commit 1f7117e
2 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2519 | 2519 | | |
2520 | 2520 | | |
2521 | 2521 | | |
| 2522 | + | |
2522 | 2523 | | |
2523 | | - | |
| 2524 | + | |
2524 | 2525 | | |
2525 | 2526 | | |
2526 | 2527 | | |
| |||
2532 | 2533 | | |
2533 | 2534 | | |
2534 | 2535 | | |
2535 | | - | |
| 2536 | + | |
2536 | 2537 | | |
2537 | | - | |
| 2538 | + | |
2538 | 2539 | | |
2539 | 2540 | | |
2540 | 2541 | | |
2541 | 2542 | | |
2542 | 2543 | | |
2543 | 2544 | | |
2544 | | - | |
| 2545 | + | |
2545 | 2546 | | |
2546 | 2547 | | |
2547 | 2548 | | |
2548 | 2549 | | |
2549 | 2550 | | |
2550 | | - | |
2551 | | - | |
| 2551 | + | |
| 2552 | + | |
2552 | 2553 | | |
2553 | 2554 | | |
2554 | 2555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments