@@ -188,7 +188,8 @@ public ITask Pull()
188
188
189
189
public ITask Push ( )
190
190
{
191
- return repositoryManager . Push ( CurrentRemote . Value . Name , CurrentBranch ? . Name ) . Then ( UpdateGitStatus ) ;
191
+ return repositoryManager . Push ( CurrentRemote . Value . Name , CurrentBranch ? . Name )
192
+ . Then ( UpdateGitStatus ) ;
192
193
}
193
194
194
195
public ITask Fetch ( )
@@ -203,12 +204,14 @@ public ITask Revert(string changeset)
203
204
204
205
public ITask RequestLock ( string file )
205
206
{
206
- return repositoryManager . LockFile ( file ) . Then ( UpdateLocks ) ;
207
+ return repositoryManager . LockFile ( file )
208
+ . Then ( UpdateLocks ) ;
207
209
}
208
210
209
211
public ITask ReleaseLock ( string file , bool force )
210
212
{
211
- return repositoryManager . UnlockFile ( file , force ) . Then ( UpdateLocks ) ;
213
+ return repositoryManager . UnlockFile ( file , force )
214
+ . Then ( UpdateLocks ) ;
212
215
}
213
216
214
217
public void CheckLogChangedEvent ( CacheUpdateEvent cacheUpdateEvent )
@@ -389,19 +392,25 @@ private void RepositoryManager_OnRepositoryUpdated()
389
392
390
393
private void UpdateGitStatus ( )
391
394
{
392
- repositoryManager ? . Status ( ) . ThenInUI ( ( b , status ) => { CurrentStatus = status ; } ) . Start ( ) ;
395
+ repositoryManager ? . Status ( )
396
+ . ThenInUI ( ( b , status ) => { CurrentStatus = status ; } )
397
+ . Start ( ) ;
393
398
}
394
399
395
400
private void UpdateGitLog ( )
396
401
{
397
- repositoryManager ? . Log ( ) . ThenInUI ( ( b , log ) => { CurrentLog = log ; } ) . Start ( ) ;
402
+ repositoryManager ? . Log ( )
403
+ . ThenInUI ( ( b , log ) => { CurrentLog = log ; } )
404
+ . Start ( ) ;
398
405
}
399
406
400
407
private void UpdateLocks ( )
401
408
{
402
409
if ( CurrentRemote . HasValue )
403
410
{
404
- repositoryManager ? . ListLocks ( false ) . ThenInUI ( ( b , locks ) => { CurrentLocks = locks ; } ) . Start ( ) ;
411
+ repositoryManager ? . ListLocks ( false )
412
+ . ThenInUI ( ( b , locks ) => { CurrentLocks = locks ; } )
413
+ . Start ( ) ;
405
414
}
406
415
}
407
416
0 commit comments