From: Dato Simó Date: Mon, 23 Sep 2013 20:47:43 +0000 (+0100) Subject: vcsh: don't allow `clone` to choke on filenames with spaces X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/deec8de709a933763e7344c3a7be54ae0be5577c?hp=deec8de709a933763e7344c3a7be54ae0be5577c vcsh: don't allow `clone` to choke on filenames with spaces By replacing the "for" loop with a "while" loop, it is easy to read line-oriented output without worrying about spaces. However, now the loop executes in a subshell, and VCSH_CONFLICT won't be available in the parent shell. In this case, a trivial, portable solution is to have the comparison as the last command in the subshell. ---