[PATCH v2 08/20] remote-curl: accept empty line as terminator
- From
Dmitry Ivankov <divanorama@gmail.com>
- Date
- Jun 20, 2011, 02:35 UTC
- Message-ID
- <1308537351-23209-1-git-send-email-divanorama@gmail.com>
- In-Reply-To
- <1308496725-22329-9-git-send-email-srabbelier@gmail.com>
As a next step, won't it be better to use "exit\n" or "quit\n" as a terminator? I don't see a convention of terminating on a blank line in docs, only on EOF. Also I can imagine a blank line being read in a case of communication error, I mean a helper can miss the error and see "exit normally" terminator.