File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
src/vs/workbench/contrib/terminalContrib/quickFix/browser Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export function gitPushSetUpstream(): ITerminalQuickFixInternalOptions {
128
128
type : 'internal' ,
129
129
commandLineMatcher : GitPushCommandLineRegex ,
130
130
/**
131
- Example output:
131
+ Example output on Windows :
132
132
8: PS C:\Users\merogge\repos\xterm.js> git push
133
133
7: fatal: The current branch sdjfskdjfdslkjf has no upstream branch.
134
134
6: To push the current branch and set the remote as upstream, use
@@ -138,12 +138,20 @@ export function gitPushSetUpstream(): ITerminalQuickFixInternalOptions {
138
138
2: To have this happen automatically for branches without a tracking
139
139
1: upstream, see 'push.autoSetupRemote' in 'git help config'.
140
140
0:
141
+
142
+ Example output on macOS:
143
+ 5: meganrogge@Megans-MacBook-Pro xterm.js % git push
144
+ 4: fatal: The current branch merogge/asjdkfsjdkfsdjf has no upstream branch.
145
+ 3: To push the current branch and set the remote as upstream, use
146
+ 2:
147
+ 1: git push --set-upstream origin merogge/asjdkfsjdkfsdjf
148
+ 0:
141
149
*/
142
150
outputMatcher : {
143
151
lineMatcher : GitPushOutputRegex ,
144
152
anchor : 'bottom' ,
145
- offset : 3 ,
146
- length : 3
153
+ offset : 0 ,
154
+ length : 7
147
155
} ,
148
156
commandExitResult : 'error' ,
149
157
getQuickFixes : ( matchResult : ITerminalCommandMatchResult ) => {
You can’t perform that action at this time.
0 commit comments