On Mon, Mar 5, 2012 at 10:06 AM, Dieter Plaetinck <die...@plaetinck.be> wrote:
> On Sun, 4 Mar 2012 22:39:22 +0000
> Adam Spiers <vcs-h...@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
Thanks for the heads-up. I don't think this is likely to be an issue
with my anticipated usage patterns.
vcs-home mailing list