Commit 8ea5c9979e9868aea3b985582195d97ace1f9665

Christian Weisgerber 2021-02-07T20:55:39

got info: fix a pasto in an error message

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.c b/got/got.c
index 9a5559d..ec8ca38 100644
--- a/got/got.c
+++ b/got/got.c
@@ -10129,7 +10129,7 @@ cmd_info(int argc, char *argv[])
 	error = got_worktree_open(&worktree, cwd);
 	if (error) {
 		if (error->code == GOT_ERR_NOT_WORKTREE)
-			error = wrap_not_worktree_error(error, "status", cwd);
+			error = wrap_not_worktree_error(error, "info", cwd);
 		goto done;
 	}