Re: [PATCH] fast-import: checkpoint: dump branches/tags/marks even if object_count==0
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 28, 2017, 06:02 UTC
- Message-ID
- <xmqqvak31hts.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAH_=xoZfuJDE515zZbry1DdGV+YeySy+5T9QOBefO-MMTSvXSA@mail.gmail.com>
Eric Rannaud <e@nanocritical.com> writes:
Show 5 quoted lines
> Doesn't fast-import get a copy of 8 (open for both reading and > writing), as a child process, and exec 8>&- only closes the copy of > the file descriptor in the parent shell, so the named pipe remains > open for writing somewhere (in the fast-import process itself, in > fact), therefore fast-import will not find EOF on its stdin?
AHHHHhhhh. If that was done intentionally, well, I really have to marvel at the cleverness of the solution! It makes sense now to me.