]> 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:

Improve error message for aborted clone
authorRichard Hartmann <richih.mailinglist@gmail.com>
Wed, 16 Nov 2011 11:00:58 +0000 (12:00 +0100)
committerRichard Hartmann <richih.mailinglist@gmail.com>
Wed, 16 Nov 2011 11:00:58 +0000 (12:00 +0100)
vcsh

diff --git a/vcsh b/vcsh
index 7f475fe22b0b2ec256311e11af3e48d0595ac80b..c1b4874f5e78bcbbe5a8c8ccb2276f3ed25d23d9 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -144,6 +144,7 @@ elif [ "$1" = 'clone' ]; then
        done
        [ "$VCSH_CONFLICT" = '1' ] &&
                echo "$SELF: fatal: will stop after fetching and not try to merge!\n" &&
        done
        [ "$VCSH_CONFLICT" = '1' ] &&
                echo "$SELF: fatal: will stop after fetching and not try to merge!\n" &&
+               echo "  Once this situation has been resolved, run 'vcsh run <foo> git pull' to finish cloning.\n" &&
                exit 3
        git merge origin/master
 #      vcsh use $REPO_NAME
                exit 3
        git merge origin/master
 #      vcsh use $REPO_NAME