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

From:
Tracey Emery <tracey@traceyemery.net>
Subject:
Re: got add recursive
To:
gameoftrees@openbsd.org
Date:
Thu, 14 Nov 2019 08:31:08 -0700

Download raw body.

Thread
On Thu, Nov 14, 2019 at 09:24:33AM +0100, Stefan Sperling wrote:
> It is one of the items in the TODO file:

Sigh. Why do I always forget this damned file?? O_O

> 
> - recursive addition: got add -R

Yes, this is actually what I meant ...

> 
> I am not aware of anyone already working on this.
> 
> Like revert, the add command should remain non-recursive by default and only
> recurse into directories specified on the command line if -R is supplied.
> I believe there will be fewer surprises if we keep this rule relatively
> consistent across commands that directly manipulate the status of files
> in the work tree. See cmd_revert() in got.c for how this can be implemented.

... because I was looking it this.

Thanks for the info as always,

T

-- 

Tracey Emery