File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
src/vs/workbench/contrib/terminalContrib/quickFix/browser Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -128,21 +128,22 @@ export function gitPushSetUpstream(): ITerminalQuickFixInternalOptions {
128
128
type : 'internal' ,
129
129
commandLineMatcher : GitPushCommandLineRegex ,
130
130
/**
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:
140
141
*/
141
142
outputMatcher : {
142
143
lineMatcher : GitPushOutputRegex ,
143
144
anchor : 'bottom' ,
144
145
offset : 3 ,
145
- length : 2
146
+ length : 3
146
147
} ,
147
148
commandExitResult : 'error' ,
148
149
getQuickFixes : ( matchResult : ITerminalCommandMatchResult ) => {
You can’t perform that action at this time.
0 commit comments