}
- public delegate void GitAsyncCallback (string str)
- async public string pull_async(GitAsyncCallback cb) {
+ public delegate void GitAsyncCallback (string str);
+ public string pull_async(GitAsyncCallback cb)
+ {
-
+ string[] cmd = { "pull" , "--no-edit" };
+ return this.git_async( cmd , cb);
}
}
- public string git_async(GitAsyncCallback cb, string[] args_in ) throws Error, SpawnError
+ public string git_async( string[] args_in, GitAsyncCallback cb ) throws Error, SpawnError
{
// convert arguments.