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

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 old cleanup code for `vcsh use`
[code/vcsh.git] / doc / error_codes.md
index 06d760d3d540e10b9b65580f3ec41867bd12458f..70496b5683622c9db1aefc66f608197a923d16f9 100644 (file)
@@ -1,3 +1,17 @@
 * 0: OK
 * 1: Generic error
 * 0: OK
 * 1: Generic error
-* 10: source-only command was called without vcsh being sourced
+* 10: Init failed because $GIT_DIR exists
+* 11: Could not enter $GIT_WORK_TREE
+* 12: No repository found
+* 13: Required directory exists but is not a directory
+* 16: Potentially harmful operation aborted
+* 17: Files that would be overwritten exist; fix manually
+
+* 50: Could not create directory
+* 51: Could not create file
+* 52: Could not move directory
+* 53: Could not move file
+* 54: Directory exists
+* 55: File exists
+
+* 99: Error code reserved for actions that should never happen