Commit 95edb37e3f3bec85f054ff6fc44a9eca557e6080

Stefan Sperling 2019-03-28T23:25:44

add missing error string for GOT_ERR_FILE_OBSTRUCTED

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/got_error.h b/include/got_error.h
index f60e3a7..9a844fe 100644
--- a/include/got_error.h
+++ b/include/got_error.h
@@ -115,6 +115,7 @@ static const struct got_error {
 	{ GOT_ERR_WORKTREE_META,"bad worktree meta data" },
 	{ GOT_ERR_WORKTREE_VERS,"unsupported worktree format version" },
 	{ GOT_ERR_WORKTREE_BUSY,"worktree already locked" },
+	{ GOT_ERR_FILE_OBSTRUCTED,"file is obstructed" },
 	{ GOT_ERR_RECURSION,	"recursion limit reached" },
 	{ GOT_ERR_TIMEOUT,	"operation timed out" },
 	{ GOT_ERR_INTERRUPT,	"operation interrupted" },