From: Christian Weisgerber Subject: Re: got {diff,log,update} -c KEYWORD (cf. svn revision keywords) To: gameoftrees@openbsd.org Date: Wed, 12 Jul 2023 19:50:29 +0200 Mark Jamsek: > As discussed not too long ago, the below diff implements the special > keywords BASE and HEAD, which can be used as the argument to > the -c option in the diff, log, and update commands. I certainly think this will be useful! $ got update -c HEAD-1; got histedit I guess "HEAD" is already special in git/got. Would it make sense to use a special symbol instead of "BASE", e.g. "."? There is another issue with BASE: In a got worktree, the base commit is per file. -- Christian "naddy" Weisgerber naddy@mips.inka.de