diff options
author | Jeff King <peff@peff.net> | 2020-02-23 23:37:54 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-24 12:55:53 -0800 |
commit | 2fecc48cade44529dff2594eadfb294643cdc24d (patch) | |
tree | 7ec3b9182be4b385a49e897839f0d23715a44ab9 /contrib/hg-to-git/hg-to-git.py | |
parent | packed_object_info(): use object_id internally for delta base (diff) | |
download | tgif-2fecc48cade44529dff2594eadfb294643cdc24d.tar.xz |
packfile: drop nth_packed_object_sha1()
Once upon a time, nth_packed_object_sha1() was the primary way to get
the oid of a packfile's index position. But these days we have the more
type-safe nth_packed_object_id() wrapper, and all callers have been
converted.
Let's drop the "sha1" version (turning the safer wrapper into a single
function) so that nobody is tempted to introduce new callers.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hg-to-git/hg-to-git.py')
0 files changed, 0 insertions, 0 deletions