[darcs-users] staging commit ?

Karel Gardas kgardas at objectsecurity.com
Fri Aug 8 07:08:04 UTC 2008


Xavier Maillard wrote:
> Hi,
> 
> In git, I am used to do 'git add -i' to "stage" changes I want to
> commit. I do not see this feature in darcs. I know that darcs
> record ask for which patch(es) to record but I find it overkill
> when so many (independant) patches are "flying in the air". I
> know the rule is to commit often but sometimes I do not and thus
> many patches are waiting in the queue. It would be great if I
> could do what 'git add [-i] <file>' does and thus not be offered
> to select patches on darcs record.
> 
> Is there any solution for this, given the fact that 'darcs
> record' has sometimes a weird behaviour (such as not recording
> anything whereas I asked it to do it).
> 
> Thank you

Please see darcs rec --help.

I guess you might just use darcs rec -a [<file>*|<directory>*] you would
like to record without asking for confirming particular change.

Cheers,
Karel

-- 
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com


More information about the darcs-users mailing list