Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Auto Packing message twice?

From: Duy Nguyen <hidden>
Date: 2016-06-15 23:02:24

On Sat, Aug 30, 2014 at 6:28 PM, Stefan Beller [off-list ref] wrote:
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.

Obviously it should only report once?
The reporting is done from within function cmd_gc(...),
which makes me wonder, if it also packs twice?
The problem is we print this message before checking if gc is running
in background. Problem is we keep the lockafter forking/detaching
because locking before forking means two processes holding the lock
and I don't think there's a way to say "release the lock in parent
process". And we can't print this message after detaching either
because stdout is already closed then. But this definitely needs some
improvement to avoid confusion.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help