commit e9cf2e3070c62465d6fdf7e81326d6dd2a6e539f from: Stefan Sperling date: Tue Feb 05 17:18:07 2019 UTC document 'got log' behaviour inside a work tree commit - 02012e5cd72063f33ac2b7f7f909b9a21e12070e commit + e9cf2e3070c62465d6fdf7e81326d6dd2a6e539f blob - 9cf67fc2d17cd2b463c07fefed463bed078f5ee8 blob + 16f922d2ae4b4e253952a4f8dd18745c1ceb3117 --- got/got.1 +++ 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.