dvcs-autosync+git is broken by design

Adam Spiers vcs-home at adamspiers.org
Mon Mar 5 23:19:13 CET 2012

On Mon, Mar 5, 2012 at 10:06 AM, Dieter Plaetinck <dieter at plaetinck.be> wrote:
> On Sun, 4 Mar 2012 22:39:22 +0000
> Adam Spiers <vcs-home at adamspiers.org> wrote:
>> Sure - I don't mind changes to existing files being autosynced,
>> but I want to manually add new files to the repo myself.
> Then you should change "startupcmd = git add -A" to "git add -u"

Consulting my .autosync, it seems I already did that.

> although that's vulnerable to race conditions:
> if you're updating files while 'git add -u' is running, it may abort.  The wrapper script I showed should probably be expanded with '-u' and '-A' like support.

Thanks for the heads-up.  I don't think this is likely to be an issue
with my anticipated usage patterns.

More information about the vcs-home mailing list