Commit 42a285e2ca79f0deefcf9e35135b87cf86003e3b

Stefan Sperling 2020-10-01T20:52:12

unveil repositories read-write when adding tags with 'got tag'

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.c b/got/got.c
index 7b77c62..6535a4b 100644
--- a/got/got.c
+++ b/got/got.c
@@ -6156,7 +6156,7 @@ cmd_tag(int argc, char *argv[])
 			goto done;
 
 		if (tagmsg) {
-			error = apply_unveil(got_repo_get_path(repo), 1, NULL);
+			error = apply_unveil(got_repo_get_path(repo), 0, NULL);
 			if (error)
 				goto done;
 		}