"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
got log and subdirectories?
To:
gameoftrees@openbsd.org
Date:
Sat, 22 Feb 2020 16:29:47 +0100

Download raw body.

Thread
When "got log" is invoked in a subdirectory of a work tree...

$ cd got/tog
$ got log

... is it supposed to (1) show the log for the top directory, or
(2) treat the subdirectory as an implicit path argument and only
show the log for this path?

Currently, it does (1).  However, when you specify an explicit path
argument, it gets appended to the subdirectory:

$ got log tog 
got: tog/tog: no such entry found in tree

Clearly, something isn't quite right, but I don't know what the
"correct" behavior should be.

"tog log" exhibits the same behavior.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de