lib/commit: Fix EBADF with GENERATE_SIZES option for commit
authorColin Walters <walters@verbum.org>
Wed, 19 Jul 2017 13:19:16 +0000 (09:19 -0400)
committerSimon McVittie <smcv@debian.org>
Wed, 19 Jul 2017 21:18:20 +0000 (22:18 +0100)
commit54fd4155966b67249bf19ce6a25f2991890f232d
tree52f36a8961f6a2ace2ea3e82e0c87a3dde89660b
parent89479651b281acaaa5e3b21e873a478590538f1b
lib/commit: Fix EBADF with GENERATE_SIZES option for commit

Regression from previous tmpfile refactoring; unfortunately
the `OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES` option
only has coverage via gjs currently.

Might expose it via the cmdline in a later option, but in the big picture the
idea was that this data is better kept in static deltas.

Bug: https://github.com/ostreedev/ostree/issues/1014
Forwarded: https://github.com/ostreedev/ostree/pull/1016

Gbp-Pq: Name lib-commit-Fix-EBADF-with-GENERATE_SIZES-option-for-commi.patch
src/libostree/ostree-repo-commit.c