]> git.madduck.net Git - code/vcsh.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

vcsh: don't allow `clone` to choke on filenames with spaces
authorDato Simó <dato@net.com.org.es>
Mon, 23 Sep 2013 20:47:43 +0000 (21:47 +0100)
committerRichard Hartmann <richih@debian.org>
Tue, 4 Feb 2014 22:10:41 +0000 (23:10 +0100)
commitdeec8de709a933763e7344c3a7be54ae0be5577c
tree82066e61e30dfb74eb828b33eec39c37f16017bd
parentb4bee06a2de5d74f9b1de64ffbb464e235a3194a
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.
vcsh