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

vcsh: Pass along exit code
[code/vcsh.git] / doc / error_codes.md
index 06d760d3d540e10b9b65580f3ec41867bd12458f..49cb084ee4593b68d06668a631cc1fa367c94bec 100644 (file)
@@ -1,3 +1,19 @@
 * 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
+* 56: 
+* 57: Could not write to file
+* 57: Could not delete directory
+* 59: Could not delete file