]> arthur.barton.de Git - bup.git/commit
git.PackWriter: assert on no precalculated sha
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 22 Oct 2021 19:10:22 +0000 (21:10 +0200)
committerRob Browning <rlb@defaultvalue.org>
Fri, 1 Jul 2022 19:01:03 +0000 (14:01 -0500)
commit07825cd496c92139378ffd403b514db333bfbc71
tree3965b14053f2fe5bae4f637897fa6612e3d00b8f
parent80f7aa7c3b3935f8f344e1870400ae9512b96a3a
git.PackWriter: assert on no precalculated sha

We really don't have any code path getting here without
a sha, so don't try to make up for it if it's missing,
just assert.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py