File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ export default class StashGit extends Git {
51
51
const params = [
52
52
'stash' ,
53
53
'list' ,
54
- '--format="%ci %h %s "' ,
54
+ '--format="%ci %h %gs "' ,
55
55
]
56
56
57
57
const stashList = ( await this . exec ( params , cwd ) ) . trim ( )
58
58
59
59
const sep1 = 26 // date length
60
- const sep2 = 34 // date length + (1) space + (7) hash length
60
+ const sep2 = 32 // date length + (1) space + (7) hash length
61
61
62
62
const list : Stash [ ] = ! stashList . length ? [ ] : stashList
63
63
. split ( / \r ? \n / g)
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export default class {
112
112
private parseStashLabel ( stashNode : StashNode , template : string ) : string {
113
113
return template
114
114
. replace ( '${index}' , stashNode . index . toString ( ) )
115
- . replace ( '${branch}' , this . getStashBranch ( stashNode ) )
115
+ . replace ( '${branch}' , '' )
116
116
. replace ( '${description}' , this . getStashDescription ( stashNode ) )
117
117
. replace ( '${dateTimeLong}' , DateFormat . toFullyReadable ( new Date ( Date . parse ( stashNode . date ) ) ) )
118
118
. replace ( '${dateTimeSmall}' , DateFormat . toDateTimeSmall ( new Date ( Date . parse ( stashNode . date ) ) ) )
You can’t perform that action at this time.
0 commit comments