On Sat, Aug 30, 2014 at 6:28 PM, Stefan Beller <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to