if (child_process.execSync('git blah-blah')) child_process.execSync('git 
blah-blah-blah') ?


(there is also creationix/js-git, I have no idea what it can do though)


26.06.2014, 21:02, "Ingwie Phoenix" <[email protected]>:
> Hey.
>
> I am working on a software, that should update itself. Its running on a 
> server, and should recognize when it can update itself. I have the concept 
> and how this is gonna work so far. Problem: I need a git client. Like, a way 
> to figure out if there are pull-able changes. Something like this - obviously 
> a mockup - would be great:
>
>         if(git.canPull()) runUpdate();
>
> simple and good.
>
> Kind regards, Ingwie.
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules: 
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/nodejs/7A7BFE04-7C53-4697-916F-ED8B82340B5B%40googlemail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1208491403806791%40web4j.yandex.ru.
For more options, visit https://groups.google.com/d/optout.

Reply via email to