diff options
author | Patryk Obara <patryk.obara@gmail.com> | 2018-01-28 01:13:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-30 10:42:36 -0800 |
commit | 1752cbbc447c08230c478239e185db9fa2d4a515 (patch) | |
tree | 79f31f34638863ebc55b11960e2b14b1cc9701cf /builtin/hash-object.c | |
parent | 3fc7281ffa2533820d26809223c7181256b88fe2 (diff) | |
download | git-1752cbbc447c08230c478239e185db9fa2d4a515.tar.gz |
sha1_file: rename hash_sha1_file_literallypo/object-id
This function was already converted to use struct object_id earlier.
Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/hash-object.c')
-rw-r--r-- | builtin/hash-object.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/hash-object.c b/builtin/hash-object.c index c532ff9320..526da5c185 100644 --- a/builtin/hash-object.c +++ b/builtin/hash-object.c @@ -24,7 +24,8 @@ static int hash_literally(struct object_id *oid, int fd, const char *type, unsig if (strbuf_read(&buf, fd, 4096) < 0) ret = -1; else - ret = hash_sha1_file_literally(buf.buf, buf.len, type, oid, flags); + ret = hash_object_file_literally(buf.buf, buf.len, type, oid, + flags); strbuf_release(&buf); return ret; } |