File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ interface Context {
40
40
title : string ;
41
41
}
42
42
43
- type Flags = '--interactive' ;
43
+ type Flags = '--interactive' | '--autosquash' ;
44
44
45
45
interface State {
46
46
repo : string | Repository ;
@@ -253,14 +253,14 @@ export class RebaseGitCommand extends QuickCommand<State> {
253
253
}
254
254
255
255
const items : FlagsQuickPickItem < Flags > [ ] = [
256
- createFlagsQuickPickItem < Flags > ( state . flags , [ '--interactive' ] , {
256
+ createFlagsQuickPickItem < Flags > ( state . flags , [ '--interactive' , '--autosquash' ] , {
257
257
label : `Interactive ${ this . title } ` ,
258
258
description : '--interactive' ,
259
259
detail : `Will interactively update ${ getReferenceLabel ( context . branch , {
260
260
label : false ,
261
261
} ) } by applying ${ pluralize ( 'commit' , ahead ) } on top of ${ getReferenceLabel ( state . destination , {
262
262
label : false ,
263
- } ) } `,
263
+ } ) } and auto-squash any fixup commits `,
264
264
picked : behind === 0 ,
265
265
} ) ,
266
266
] ;
You can’t perform that action at this time.
0 commit comments