Commit f16e404405cee25eaeec2bebd3555ed373bb5b73

Stefan Sperling 2019-10-09T06:52:07

explicitly document that 'got ref' expects absolute reference names

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.1 b/got/got.1
index 74fbaf4..c34b1bc 100644
--- a/got/got.1
+++ b/got/got.1
@@ -479,6 +479,8 @@ or update, the reference with the given
 .Ar name ,
 and make it point at the given
 .Ar target .
+The name must be an absolute reference name, i.e. it must begin with
+.Dq refs/ .
 The target may be an object ID SHA1 hash or an existing reference which
 will be resolved to an object ID.
 An abbreviated hash argument will be expanded to a full SHA1 hash