Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
Unity
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shane Veasy
Unity
Commits
ad40bb95
Commit
ad40bb95
authored
7 years ago
by
Marcus Christensen
Browse files
Options
Downloads
Patches
Plain Diff
- Reverted the formatting for lambdas.
parent
8b2312cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs
+6
-12
6 additions, 12 deletions
...ityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs
with
6 additions
and
12 deletions
src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs
+
6
−
12
View file @
ad40bb95
...
...
@@ -207,8 +207,7 @@ namespace GitHub.Unity
{
if
(
Repository
!=
null
)
{
GitClient
.
Log
().
ThenInUI
((
success
,
log
)
=>
{
GitClient
.
Log
().
ThenInUI
((
success
,
log
)
=>
{
if
(
success
)
OnLogUpdate
(
log
);
}).
Start
();
}
...
...
@@ -586,8 +585,7 @@ namespace GitHub.Unity
{
Repository
.
Revert
(
selection
.
CommitID
)
.
FinallyInUI
((
success
,
e
)
=>
{
.
FinallyInUI
((
success
,
e
)
=>
{
if
(!
success
)
{
EditorUtility
.
DisplayDialog
(
dialogTitle
,
...
...
@@ -708,8 +706,7 @@ namespace GitHub.Unity
Repository
.
Pull
()
// we need the error propagated from the original git command to handle things appropriately
.
Then
(
success
=>
{
.
Then
(
success
=>
{
if
(!
success
)
{
// if Pull fails we need to parse the output of the command, figure out
...
...
@@ -717,8 +714,7 @@ namespace GitHub.Unity
// (either git rebase --abort or git merge --abort)
}
},
true
)
.
FinallyInUI
((
success
,
e
)
=>
{
.
FinallyInUI
((
success
,
e
)
=>
{
if
(
success
)
{
EditorUtility
.
DisplayDialog
(
Localization
.
PullActionTitle
,
...
...
@@ -741,8 +737,7 @@ namespace GitHub.Unity
var
remote
=
Repository
.
CurrentRemote
.
HasValue
?
Repository
.
CurrentRemote
.
Value
.
Name
:
String
.
Empty
;
Repository
.
Push
()
.
FinallyInUI
((
success
,
e
)
=>
{
.
FinallyInUI
((
success
,
e
)
=>
{
if
(
success
)
{
EditorUtility
.
DisplayDialog
(
Localization
.
PushActionTitle
,
...
...
@@ -764,8 +759,7 @@ namespace GitHub.Unity
var
remote
=
Repository
.
CurrentRemote
.
HasValue
?
Repository
.
CurrentRemote
.
Value
.
Name
:
String
.
Empty
;
Repository
.
Fetch
()
.
FinallyInUI
((
success
,
e
)
=>
{
.
FinallyInUI
((
success
,
e
)
=>
{
if
(!
success
)
{
EditorUtility
.
DisplayDialog
(
FetchActionTitle
,
FetchFailureDescription
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment