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

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:

remove left-over useless exit code
[code/vcsh.git] / vcsh
diff --git a/vcsh b/vcsh
index ee3514167317bbf9abfe682c089e93d37cc9f7a5..a6d0106cd7fac58429cf7070c08e26ba66bdbf2f 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -48,7 +48,7 @@ info() {
        echo "$SELF: info: $1"
 }
 
        echo "$SELF: info: $1"
 }
 
-clone () {
+clone() {
        init
        git remote add origin "$GIT_REMOTE"
        git config branch.master.remote origin
        init
        git remote add origin "$GIT_REMOTE"
        git config branch.master.remote origin
@@ -65,7 +65,7 @@ clone () {
        git merge origin/master
 }
 
        git merge origin/master
 }
 
-delete () {
+delete() {
        old_dir="$PWD"
        cd "$HOME"
        use
        old_dir="$PWD"
        cd "$HOME"
        use
@@ -86,7 +86,7 @@ To continue, type \"Yes, do as I say\""
        cd "$old_dir"
 }
 
        cd "$old_dir"
 }
 
-enter () {
+enter() {
        use
        $SHELL
 }
        use
        $SHELL
 }
@@ -101,18 +101,18 @@ init() {
        setup
 }
 
        setup
 }
 
-list () {
+list() {
        for i in "$VCSH_BASE"/*.git; do
                echo $(basename "$i" .git)
        done
 }
 
        for i in "$VCSH_BASE"/*.git; do
                echo $(basename "$i" .git)
        done
 }
 
-run () {
+run() {
        use
        $VCSH_EXTERNAL_COMMAND
 }
 
        use
        $VCSH_EXTERNAL_COMMAND
 }
 
-seed_gitignore () {
+seed_gitignore() {
        use
        # Switching directory as this has to be executed from $HOME to be of any use.
        # Going back into old directory at the end in case `vcsh use` is reactivated.
        use
        # Switching directory as this has to be executed from $HOME to be of any use.
        # Going back into old directory at the end in case `vcsh use` is reactivated.