"Martin Langhoff (CatalystIT)" [off-list ref] writes:
Ah, ok. I misunderstood the use of trap -- of course, re-reading the
man pages, it makes sense.
However the more I think about it your original idea of using
.tmp-pack directly in .git/objects/pack/ *should* have worked
(modulo two repack instances using the same name, which is fixed
by $$ there). Not insisting on "pack-" prefix I consider is a
feature, but I do not see a reason to take a file that begin
with a dot.
Well, probably too late to deprecate, maybe not. I dunno.