Commit Diff


commit - f6cae3ed1ef0c22150181eeebb8f9e97db99dc5a
commit + 53643ae18558c41fba1c99fbe9e5e73de7fe8797
blob - 09df173f44966dfcc1a7f9dec3259ba5af9837d9
blob + f1c3eb07dd31dd3a4620452bfdfab1b4119d3c66
--- got/got.conf.5
+++ got/got.conf.5
@@ -177,3 +177,19 @@ file.
 .Xr got 1 ,
 .Xr git-repository 5 ,
 .Xr got-worktree 5
+.Sh CAVEATS
+.Nm
+offers no way to configure the editor spawned by
+.Cm got commit ,
+.Cm got histedit ,
+.Cm got import ,
+or
+.Cm got tag .
+This is deliberate and prevents potential arbitrary command execution
+as another user when repositories or work trees are shared between users.
+Users should set their
+.Ev VISUAL
+or
+.Ev EDITOR
+environment variables instead.
+