mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Strip upstream from footer (#20757)
* Strip upstream from footer * cleanup (readd accidentally deleted whitespace)
This commit is contained in:
parent
8e70d54e81
commit
d3844d7d9c
@ -208,7 +208,7 @@ void createFooter(String footerPath) {
|
||||
throw 'git status exit with non-zero exit code: ${gitResult.exitCode}';
|
||||
final Match gitBranchMatch = gitBranchRegexp.firstMatch(
|
||||
gitResult.stdout.trim().split('\n').first);
|
||||
final String gitBranchOut = gitBranchMatch == null ? '' : '• </span class="no-break">${gitBranchMatch.group(1)}</span>';
|
||||
final String gitBranchOut = gitBranchMatch == null ? '' : '• </span class="no-break">${gitBranchMatch.group(1).split('...').first}</span>';
|
||||
|
||||
gitRevision = gitRevision.length > kGitRevisionLength ? gitRevision.substring(0, kGitRevisionLength) : gitRevision;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user