diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 00:25:34 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 13:59:49 +0900 |
| commit | 6862ebbfcbdd44b68dbdcfecd432432bdf22b2e5 (patch) | |
| tree | ea08f350eebbbb00a2e500fcfe7985ebc6785add /builtin/pack-objects.c | |
| parent | 14c3c80c81418e00ee990a88f526ac851411f422 (diff) | |
| download | git-6862ebbfcbdd44b68dbdcfecd432432bdf22b2e5.tar.gz | |
sha1-file: convert freshen functions to object_id
Convert the various functions for freshening objects and
has_loose_object_nonlocal to use struct object_id.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
| -rw-r--r-- | builtin/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index 4bdae5a1d8..907e112331 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -1012,7 +1012,7 @@ static int want_object_in_pack(const struct object_id *oid, int want; struct list_head *pos; - if (!exclude && local && has_loose_object_nonlocal(oid->hash)) + if (!exclude && local && has_loose_object_nonlocal(oid)) return 0; /* |
