You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
html = [NSStringstringWithFormat:@"%@%@<div id='diffs'>%@</div>",header,fileList,diffs];
133
-
} else {
134
-
html = [NSStringstringWithFormat:@"%@%@<div id='diffs'><p>This is a very large commit. It may take a long time to load the diff. Click <a href='' onclick='showFullDiff(); return false;'>here</a> to show anyway.</p></div>",header,fileList,currentSha];
135
-
}
136
-
137
-
html = [html stringByReplacingOccurrencesOfString:@"{SHA_PREV}"withString:[NSStringstringWithFormat:@"%@^",currentSha]];
138
-
html = [html stringByReplacingOccurrencesOfString:@"{SHA}"withString:currentSha];
html = [NSStringstringWithFormat:@"%@%@<div id='diffs'>%@</div>",header,fileList,diffs];
136
+
} else {
137
+
html = [NSStringstringWithFormat:@"%@%@<div id='diffs'><p>This is a very large commit. It may take a long time to load the diff. Click <a href='' onclick='showFullDiff(); return false;'>here</a> to show anyway.</p></div>",header,fileList,currentSha];
138
+
}
139
+
140
+
html = [html stringByReplacingOccurrencesOfString:@"{SHA_PREV}"withString:[NSStringstringWithFormat:@"%@^",currentSha]];
141
+
html = [html stringByReplacingOccurrencesOfString:@"{SHA}"withString:currentSha];
142
+
143
+
dispatch_async(dispatch_get_main_queue(), ^{
144
+
// If a bunch of commits were selected quickly we check to make sure the commit we requested is still active
0 commit comments