Skip to content

Commit 206efb9

Browse files
committed
adjust
1 parent 02a844a commit 206efb9

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixBuiltinActions.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,22 @@ export function gitPushSetUpstream(): ITerminalQuickFixInternalOptions {
128128
type: 'internal',
129129
commandLineMatcher: GitPushCommandLineRegex,
130130
/**
131-
8 PS C:\Users\merogge\repos\xterm.js> git push
132-
7 fatal: The current branch sdjfskdjfdslkjf has no upstream branch.
133-
6 To push the current branch and set the remote as upstream, use
134-
5
135-
4 git push --set-upstream origin sdjfskdjfdslkjf
136-
3
137-
2 To have this happen automatically for branches without a tracking
138-
1 upstream, see 'push.autoSetupRemote' in 'git help config'.
139-
0
131+
Example output:
132+
8: PS C:\Users\merogge\repos\xterm.js> git push
133+
7: fatal: The current branch sdjfskdjfdslkjf has no upstream branch.
134+
6: To push the current branch and set the remote as upstream, use
135+
5:
136+
4: git push --set-upstream origin sdjfskdjfdslkjf
137+
3:
138+
2: To have this happen automatically for branches without a tracking
139+
1: upstream, see 'push.autoSetupRemote' in 'git help config'.
140+
0:
140141
*/
141142
outputMatcher: {
142143
lineMatcher: GitPushOutputRegex,
143144
anchor: 'bottom',
144145
offset: 3,
145-
length: 2
146+
length: 3
146147
},
147148
commandExitResult: 'error',
148149
getQuickFixes: (matchResult: ITerminalCommandMatchResult) => {

0 commit comments

Comments
 (0)