diff options
| author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-11 13:36:15 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-11 15:07:01 -0700 |
| commit | 789bf26b07dbdd5985e30136f4ba638bb9c7f00e (patch) | |
| tree | 5a0d7af042d50bdacbb1e58ed5d3a62793ea7f32 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | sha1_file: set whence in storage-specific info fn (diff) | |
| download | git-789bf26b07dbdd5985e30136f4ba638bb9c7f00e.tar.gz git-789bf26b07dbdd5985e30136f4ba638bb9c7f00e.zip | |
sha1_file: remove read_packed_sha1()
Use read_object() in its place instead. This avoids duplication of code.
This makes force_object_loose() slightly slower (because of a redundant
check of loose object storage), but only in the error case.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
