Commit e9cf2e3070c62465d6fdf7e81326d6dd2a6e539f

Stefan Sperling 2019-02-05T18:18:07

document 'got log' behaviour inside a work tree

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/got/got.1 b/got/got.1
index 9cf67fc..16f922d 100644
--- a/got/got.1
+++ b/got/got.1
@@ -155,6 +155,9 @@ Display the patch of modifications made in each commit.
 Use the repository at the specified path.
 If not specified, assume the repository is located at or above the current
 working directory.
+If this directory is a
+.Nm
+work tree, use the repository path associated with this work tree.
 .El
 .It Cm diff [ Fl C Ar number ] [ Ar repository-path ] Ar object1 Ar object2
 Display the differences between two objects in the repository.