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

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: Fix stupid syntax error
authorRichard Hartmann <richih.mailinglist@gmail.com>
Wed, 10 Jul 2013 11:04:06 +0000 (13:04 +0200)
committerRichard Hartmann <richih.mailinglist@gmail.com>
Wed, 10 Jul 2013 11:04:06 +0000 (13:04 +0200)
Thanks to Alessandro Ghedini.

vcsh

diff --git a/vcsh b/vcsh
index f1f50def85502ff90d21f0d1b0f6ae1e380cb15d..41b0ba639e77da679bc3c674ac758232b3aa740e 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -260,7 +260,7 @@ which() {
 
 write_gitignore() {
        # Don't do anything if the user does not want to write gitignore
-       if [ "x$VCSH_GITIGNORE" = 'xnone' ] then
+       if [ "x$VCSH_GITIGNORE" = 'xnone' ]; then
                info "Not writing gitignore as '\$VCSH_GITIGNORE' is set to 'none'"
                exit
        fi