Commit ff48302
builtin/pack-objects: introduce obj_is_packed()
Let's refactor the way we check if an object is packed by
introducing obj_is_packed(). This function is now a simple
wrapper around packlist_find(), but it will evolve in a
following commit.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent e704fc7 commit ff48302
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2569 | 2569 | | |
2570 | 2570 | | |
2571 | 2571 | | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
2572 | 2577 | | |
2573 | 2578 | | |
2574 | 2579 | | |
| |||
2580 | 2585 | | |
2581 | 2586 | | |
2582 | 2587 | | |
2583 | | - | |
| 2588 | + | |
2584 | 2589 | | |
2585 | 2590 | | |
2586 | 2591 | | |
| |||
2604 | 2609 | | |
2605 | 2610 | | |
2606 | 2611 | | |
2607 | | - | |
| 2612 | + | |
2608 | 2613 | | |
2609 | 2614 | | |
2610 | 2615 | | |
| |||
0 commit comments