git-stack-cli 1.8.3 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,7 +67,7 @@ test("git-revise-todo handles double quotes in commit message", () => {
67
67
  [
68
68
  //force line break
69
69
  "++ pick f143d03c723c",
70
- '[new] invalid \\\\"by me\\\\" quotes',
70
+ '[new] invalid \\"by me\\" quotes',
71
71
  "",
72
72
  "git-stack-id: 6Ak-qn+5Z",
73
73
  'git-stack-title: [new] invalid \\"by me\\" quotes',
@@ -76,573 +76,565 @@ test("git-revise-todo handles double quotes in commit message", () => {
76
76
  });
77
77
 
78
78
  const SINGLE_COMMIT_EXISTING_GROUP: CommitMetadata.CommitRange = {
79
- "invalid": false,
80
- "group_list": [
79
+ invalid: false,
80
+ group_list: [
81
81
  {
82
- "id": "AAWsYx1UU",
83
- "title": "banana",
84
- "pr": {
85
- "baseRefName": "master",
86
- "body":
87
- "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
88
- "commits": [
82
+ id: "AAWsYx1UU",
83
+ title: "banana",
84
+ pr: {
85
+ baseRefName: "master",
86
+ body: "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
87
+ commits: [
89
88
  {
90
- "authoredDate": "2024-02-25T03:41:42Z",
91
- "authors": [
89
+ authoredDate: "2024-02-25T03:41:42Z",
90
+ authors: [
92
91
  {
93
- "email": "noah@iamnoah.com",
94
- "id": "MDQ6VXNlcjI5MDA4NA==",
95
- "login": "magus",
96
- "name": "magus",
92
+ email: "noah@iamnoah.com",
93
+ id: "MDQ6VXNlcjI5MDA4NA==",
94
+ login: "magus",
95
+ name: "magus",
97
96
  },
98
97
  ],
99
- "committedDate": "2024-02-25T03:41:42Z",
100
- "messageBody": "git-stack-id: AAWsYx1UU",
101
- "messageHeadline": "banana color",
102
- "oid": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
98
+ committedDate: "2024-02-25T03:41:42Z",
99
+ messageBody: "git-stack-id: AAWsYx1UU",
100
+ messageHeadline: "banana color",
101
+ oid: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
103
102
  },
104
103
  ],
105
- "headRefName": "AAWsYx1UU",
106
- "number": 43,
107
- "state": "OPEN",
108
- "title": "banana",
109
- "url": "https://github.com/magus/git-multi-diff-playground/pull/43",
104
+ headRefName: "AAWsYx1UU",
105
+ number: 43,
106
+ state: "OPEN",
107
+ title: "banana",
108
+ url: "https://github.com/magus/git-multi-diff-playground/pull/43",
110
109
  },
111
- "base": "master",
112
- "dirty": false,
113
- "commits": [
110
+ base: "master",
111
+ dirty: false,
112
+ commits: [
114
113
  {
115
- "sha": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
116
- "full_message": "banana color\n\ngit-stack-id: AAWsYx1UU",
117
- "subject_line": "banana color",
118
- "branch_id": "AAWsYx1UU",
119
- "title": null,
114
+ sha: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
115
+ full_message: "banana color\n\ngit-stack-id: AAWsYx1UU",
116
+ subject_line: "banana color",
117
+ branch_id: "AAWsYx1UU",
118
+ title: "banana",
120
119
  },
121
120
  ],
122
121
  },
123
122
  {
124
- "id": "E63ytp5dj",
125
- "title": "lemon color",
126
- "pr": {
127
- "baseRefName": "AAWsYx1UU",
128
- "body":
129
- "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
130
- "commits": [
123
+ id: "E63ytp5dj",
124
+ title: "lemon color",
125
+ pr: {
126
+ baseRefName: "AAWsYx1UU",
127
+ body: "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
128
+ commits: [
131
129
  {
132
- "authoredDate": "2024-02-25T03:41:46Z",
133
- "authors": [
130
+ authoredDate: "2024-02-25T03:41:46Z",
131
+ authors: [
134
132
  {
135
- "email": "noah@iamnoah.com",
136
- "id": "MDQ6VXNlcjI5MDA4NA==",
137
- "login": "magus",
138
- "name": "magus",
133
+ email: "noah@iamnoah.com",
134
+ id: "MDQ6VXNlcjI5MDA4NA==",
135
+ login: "magus",
136
+ name: "magus",
139
137
  },
140
138
  ],
141
- "committedDate": "2024-02-25T03:41:46Z",
142
- "messageBody": "git-stack-id: E63ytp5dj",
143
- "messageHeadline": "lemon color",
144
- "oid": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
139
+ committedDate: "2024-02-25T03:41:46Z",
140
+ messageBody: "git-stack-id: E63ytp5dj",
141
+ messageHeadline: "lemon color",
142
+ oid: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
145
143
  },
146
144
  {
147
- "authoredDate": "2024-02-25T03:41:46Z",
148
- "authors": [
145
+ authoredDate: "2024-02-25T03:41:46Z",
146
+ authors: [
149
147
  {
150
- "email": "noah@iamnoah.com",
151
- "id": "MDQ6VXNlcjI5MDA4NA==",
152
- "login": "magus",
153
- "name": "magus",
148
+ email: "noah@iamnoah.com",
149
+ id: "MDQ6VXNlcjI5MDA4NA==",
150
+ login: "magus",
151
+ name: "magus",
154
152
  },
155
153
  ],
156
- "committedDate": "2024-02-25T03:41:46Z",
157
- "messageBody": "git-stack-id: E63ytp5dj",
158
- "messageHeadline": "cantaloupe color",
159
- "oid": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
154
+ committedDate: "2024-02-25T03:41:46Z",
155
+ messageBody: "git-stack-id: E63ytp5dj",
156
+ messageHeadline: "cantaloupe color",
157
+ oid: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
160
158
  },
161
159
  {
162
- "authoredDate": "2024-02-25T03:41:46Z",
163
- "authors": [
160
+ authoredDate: "2024-02-25T03:41:46Z",
161
+ authors: [
164
162
  {
165
- "email": "noah@iamnoah.com",
166
- "id": "MDQ6VXNlcjI5MDA4NA==",
167
- "login": "magus",
168
- "name": "magus",
163
+ email: "noah@iamnoah.com",
164
+ id: "MDQ6VXNlcjI5MDA4NA==",
165
+ login: "magus",
166
+ name: "magus",
169
167
  },
170
168
  ],
171
- "committedDate": "2024-02-25T03:41:46Z",
172
- "messageBody": "git-stack-id: E63ytp5dj",
173
- "messageHeadline": "banana sweet",
174
- "oid": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
169
+ committedDate: "2024-02-25T03:41:46Z",
170
+ messageBody: "git-stack-id: E63ytp5dj",
171
+ messageHeadline: "banana sweet",
172
+ oid: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
175
173
  },
176
174
  ],
177
- "headRefName": "E63ytp5dj",
178
- "number": 47,
179
- "state": "OPEN",
180
- "title": "lemon color",
181
- "url": "https://github.com/magus/git-multi-diff-playground/pull/47",
175
+ headRefName: "E63ytp5dj",
176
+ number: 47,
177
+ state: "OPEN",
178
+ title: "lemon color",
179
+ url: "https://github.com/magus/git-multi-diff-playground/pull/47",
182
180
  },
183
- "base": "AAWsYx1UU",
184
- "dirty": true,
185
- "commits": [
181
+ base: "AAWsYx1UU",
182
+ dirty: true,
183
+ commits: [
186
184
  {
187
- "sha": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
188
- "full_message": "lemon color\n\ngit-stack-id: E63ytp5dj",
189
- "subject_line": "lemon color",
190
- "branch_id": "E63ytp5dj",
191
- "title": null,
185
+ sha: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
186
+ full_message: "lemon color\n\ngit-stack-id: E63ytp5dj",
187
+ subject_line: "lemon color",
188
+ branch_id: "E63ytp5dj",
189
+ title: "lemon color",
192
190
  },
193
191
  {
194
- "sha": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
195
- "full_message": "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
196
- "subject_line": "cantaloupe color",
197
- "branch_id": "E63ytp5dj",
198
- "title": null,
192
+ sha: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
193
+ full_message: "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
194
+ subject_line: "cantaloupe color",
195
+ branch_id: "E63ytp5dj",
196
+ title: "lemon color",
199
197
  },
200
198
  {
201
- "sha": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
202
- "full_message": "banana sweet\n\ngit-stack-id: E63ytp5dj",
203
- "subject_line": "banana sweet",
204
- "branch_id": "E63ytp5dj",
205
- "title": null,
199
+ sha: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
200
+ full_message: "banana sweet\n\ngit-stack-id: E63ytp5dj",
201
+ subject_line: "banana sweet",
202
+ branch_id: "E63ytp5dj",
203
+ title: "lemon color",
206
204
  },
207
205
  {
208
- "sha": "f143d03c723c9f5231a81c1e12098511611898cb",
209
- "full_message": "apple sweet",
210
- "subject_line": "apple sweet",
211
- "branch_id": null,
212
- "title": null,
206
+ sha: "f143d03c723c9f5231a81c1e12098511611898cb",
207
+ full_message: "apple sweet",
208
+ subject_line: "apple sweet",
209
+ branch_id: "E63ytp5dj",
210
+ title: "lemon color",
213
211
  },
214
212
  ],
215
213
  },
216
214
  ],
217
- "commit_list": [
215
+ commit_list: [
218
216
  {
219
- "sha": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
220
- "full_message": "banana color\n\ngit-stack-id: AAWsYx1UU",
221
- "subject_line": "banana color",
222
- "branch_id": "AAWsYx1UU",
223
- "title": null,
217
+ sha: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
218
+ full_message: "banana color\n\ngit-stack-id: AAWsYx1UU",
219
+ subject_line: "banana color",
220
+ branch_id: "AAWsYx1UU",
221
+ title: "banana",
224
222
  },
225
223
  {
226
- "sha": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
227
- "full_message": "lemon color\n\ngit-stack-id: E63ytp5dj",
228
- "subject_line": "lemon color",
229
- "branch_id": "E63ytp5dj",
230
- "title": null,
224
+ sha: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
225
+ full_message: "lemon color\n\ngit-stack-id: E63ytp5dj",
226
+ subject_line: "lemon color",
227
+ branch_id: "E63ytp5dj",
228
+ title: "lemon color",
231
229
  },
232
230
  {
233
- "sha": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
234
- "full_message": "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
235
- "subject_line": "cantaloupe color",
236
- "branch_id": "E63ytp5dj",
237
- "title": null,
231
+ sha: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
232
+ full_message: "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
233
+ subject_line: "cantaloupe color",
234
+ branch_id: "E63ytp5dj",
235
+ title: "lemon color",
238
236
  },
239
237
  {
240
- "sha": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
241
- "full_message": "banana sweet\n\ngit-stack-id: E63ytp5dj",
242
- "subject_line": "banana sweet",
243
- "branch_id": "E63ytp5dj",
244
- "title": null,
238
+ sha: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
239
+ full_message: "banana sweet\n\ngit-stack-id: E63ytp5dj",
240
+ subject_line: "banana sweet",
241
+ branch_id: "E63ytp5dj",
242
+ title: "lemon color",
245
243
  },
246
244
  {
247
- "sha": "f143d03c723c9f5231a81c1e12098511611898cb",
248
- "full_message": "apple sweet",
249
- "subject_line": "apple sweet",
250
- "branch_id": null,
251
- "title": null,
245
+ sha: "f143d03c723c9f5231a81c1e12098511611898cb",
246
+ full_message: "apple sweet",
247
+ subject_line: "apple sweet",
248
+ branch_id: "6Ak-qn+5Z",
249
+ title: "new group",
252
250
  },
253
251
  ],
254
- "pr_lookup": {
255
- "AAWsYx1UU": {
256
- "baseRefName": "master",
257
- "body":
258
- "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
259
- "commits": [
252
+ pr_lookup: {
253
+ AAWsYx1UU: {
254
+ baseRefName: "master",
255
+ body: "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
256
+ commits: [
260
257
  {
261
- "authoredDate": "2024-02-25T03:41:42Z",
262
- "authors": [
258
+ authoredDate: "2024-02-25T03:41:42Z",
259
+ authors: [
263
260
  {
264
- "email": "noah@iamnoah.com",
265
- "id": "MDQ6VXNlcjI5MDA4NA==",
266
- "login": "magus",
267
- "name": "magus",
261
+ email: "noah@iamnoah.com",
262
+ id: "MDQ6VXNlcjI5MDA4NA==",
263
+ login: "magus",
264
+ name: "magus",
268
265
  },
269
266
  ],
270
- "committedDate": "2024-02-25T03:41:42Z",
271
- "messageBody": "git-stack-id: AAWsYx1UU",
272
- "messageHeadline": "banana color",
273
- "oid": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
267
+ committedDate: "2024-02-25T03:41:42Z",
268
+ messageBody: "git-stack-id: AAWsYx1UU",
269
+ messageHeadline: "banana color",
270
+ oid: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
274
271
  },
275
272
  ],
276
- "headRefName": "AAWsYx1UU",
277
- "number": 43,
278
- "state": "OPEN",
279
- "title": "banana",
280
- "url": "https://github.com/magus/git-multi-diff-playground/pull/43",
273
+ headRefName: "AAWsYx1UU",
274
+ number: 43,
275
+ state: "OPEN",
276
+ title: "banana",
277
+ url: "https://github.com/magus/git-multi-diff-playground/pull/43",
281
278
  },
282
- "E63ytp5dj": {
283
- "baseRefName": "AAWsYx1UU",
284
- "body":
285
- "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
286
- "commits": [
279
+ E63ytp5dj: {
280
+ baseRefName: "AAWsYx1UU",
281
+ body: "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
282
+ commits: [
287
283
  {
288
- "authoredDate": "2024-02-25T03:41:46Z",
289
- "authors": [
284
+ authoredDate: "2024-02-25T03:41:46Z",
285
+ authors: [
290
286
  {
291
- "email": "noah@iamnoah.com",
292
- "id": "MDQ6VXNlcjI5MDA4NA==",
293
- "login": "magus",
294
- "name": "magus",
287
+ email: "noah@iamnoah.com",
288
+ id: "MDQ6VXNlcjI5MDA4NA==",
289
+ login: "magus",
290
+ name: "magus",
295
291
  },
296
292
  ],
297
- "committedDate": "2024-02-25T03:41:46Z",
298
- "messageBody": "git-stack-id: E63ytp5dj",
299
- "messageHeadline": "lemon color",
300
- "oid": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
293
+ committedDate: "2024-02-25T03:41:46Z",
294
+ messageBody: "git-stack-id: E63ytp5dj",
295
+ messageHeadline: "lemon color",
296
+ oid: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
301
297
  },
302
298
  {
303
- "authoredDate": "2024-02-25T03:41:46Z",
304
- "authors": [
299
+ authoredDate: "2024-02-25T03:41:46Z",
300
+ authors: [
305
301
  {
306
- "email": "noah@iamnoah.com",
307
- "id": "MDQ6VXNlcjI5MDA4NA==",
308
- "login": "magus",
309
- "name": "magus",
302
+ email: "noah@iamnoah.com",
303
+ id: "MDQ6VXNlcjI5MDA4NA==",
304
+ login: "magus",
305
+ name: "magus",
310
306
  },
311
307
  ],
312
- "committedDate": "2024-02-25T03:41:46Z",
313
- "messageBody": "git-stack-id: E63ytp5dj",
314
- "messageHeadline": "cantaloupe color",
315
- "oid": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
308
+ committedDate: "2024-02-25T03:41:46Z",
309
+ messageBody: "git-stack-id: E63ytp5dj",
310
+ messageHeadline: "cantaloupe color",
311
+ oid: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
316
312
  },
317
313
  {
318
- "authoredDate": "2024-02-25T03:41:46Z",
319
- "authors": [
314
+ authoredDate: "2024-02-25T03:41:46Z",
315
+ authors: [
320
316
  {
321
- "email": "noah@iamnoah.com",
322
- "id": "MDQ6VXNlcjI5MDA4NA==",
323
- "login": "magus",
324
- "name": "magus",
317
+ email: "noah@iamnoah.com",
318
+ id: "MDQ6VXNlcjI5MDA4NA==",
319
+ login: "magus",
320
+ name: "magus",
325
321
  },
326
322
  ],
327
- "committedDate": "2024-02-25T03:41:46Z",
328
- "messageBody": "git-stack-id: E63ytp5dj",
329
- "messageHeadline": "banana sweet",
330
- "oid": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
323
+ committedDate: "2024-02-25T03:41:46Z",
324
+ messageBody: "git-stack-id: E63ytp5dj",
325
+ messageHeadline: "banana sweet",
326
+ oid: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
331
327
  },
332
328
  ],
333
- "headRefName": "E63ytp5dj",
334
- "number": 47,
335
- "state": "OPEN",
336
- "title": "lemon color",
337
- "url": "https://github.com/magus/git-multi-diff-playground/pull/47",
329
+ headRefName: "E63ytp5dj",
330
+ number: 47,
331
+ state: "OPEN",
332
+ title: "lemon color",
333
+ url: "https://github.com/magus/git-multi-diff-playground/pull/47",
338
334
  },
339
335
  },
340
- "UNASSIGNED": "unassigned",
336
+ UNASSIGNED: "unassigned",
341
337
  };
342
338
 
343
339
  const SINGLE_COMMIT_NEW_GROUP: CommitMetadata.CommitRange = {
344
- "invalid": false,
345
- "group_list": [
340
+ invalid: false,
341
+ group_list: [
346
342
  {
347
- "id": "AAWsYx1UU",
348
- "title": "banana",
349
- "pr": {
350
- "baseRefName": "master",
351
- "body":
352
- "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
353
- "commits": [
343
+ id: "AAWsYx1UU",
344
+ title: "banana",
345
+ pr: {
346
+ baseRefName: "master",
347
+ body: "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
348
+ commits: [
354
349
  {
355
- "authoredDate": "2024-02-25T03:41:42Z",
356
- "authors": [
350
+ authoredDate: "2024-02-25T03:41:42Z",
351
+ authors: [
357
352
  {
358
- "email": "noah@iamnoah.com",
359
- "id": "MDQ6VXNlcjI5MDA4NA==",
360
- "login": "magus",
361
- "name": "magus",
353
+ email: "noah@iamnoah.com",
354
+ id: "MDQ6VXNlcjI5MDA4NA==",
355
+ login: "magus",
356
+ name: "magus",
362
357
  },
363
358
  ],
364
- "committedDate": "2024-02-25T03:41:42Z",
365
- "messageBody": "git-stack-id: AAWsYx1UU",
366
- "messageHeadline": "banana color",
367
- "oid": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
359
+ committedDate: "2024-02-25T03:41:42Z",
360
+ messageBody: "git-stack-id: AAWsYx1UU",
361
+ messageHeadline: "banana color",
362
+ oid: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
368
363
  },
369
364
  ],
370
- "headRefName": "AAWsYx1UU",
371
- "number": 43,
372
- "state": "OPEN",
373
- "title": "banana",
374
- "url": "https://github.com/magus/git-multi-diff-playground/pull/43",
365
+ headRefName: "AAWsYx1UU",
366
+ number: 43,
367
+ state: "OPEN",
368
+ title: "banana",
369
+ url: "https://github.com/magus/git-multi-diff-playground/pull/43",
375
370
  },
376
- "base": "master",
377
- "dirty": false,
378
- "commits": [
371
+ base: "master",
372
+ dirty: false,
373
+ commits: [
379
374
  {
380
- "sha": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
381
- "full_message": "banana color\n\ngit-stack-id: AAWsYx1UU",
382
- "subject_line": "banana color",
383
- "branch_id": "AAWsYx1UU",
384
- "title": null,
375
+ sha: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
376
+ full_message: "banana color\n\ngit-stack-id: AAWsYx1UU",
377
+ subject_line: "banana color",
378
+ branch_id: "AAWsYx1UU",
379
+ title: "banana",
385
380
  },
386
381
  ],
387
382
  },
388
383
  {
389
- "id": "E63ytp5dj",
390
- "title": "lemon color",
391
- "pr": {
392
- "baseRefName": "AAWsYx1UU",
393
- "body":
394
- "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
395
- "commits": [
384
+ id: "E63ytp5dj",
385
+ title: "lemon color",
386
+ pr: {
387
+ baseRefName: "AAWsYx1UU",
388
+ body: "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
389
+ commits: [
396
390
  {
397
- "authoredDate": "2024-02-25T03:41:46Z",
398
- "authors": [
391
+ authoredDate: "2024-02-25T03:41:46Z",
392
+ authors: [
399
393
  {
400
- "email": "noah@iamnoah.com",
401
- "id": "MDQ6VXNlcjI5MDA4NA==",
402
- "login": "magus",
403
- "name": "magus",
394
+ email: "noah@iamnoah.com",
395
+ id: "MDQ6VXNlcjI5MDA4NA==",
396
+ login: "magus",
397
+ name: "magus",
404
398
  },
405
399
  ],
406
- "committedDate": "2024-02-25T03:41:46Z",
407
- "messageBody": "git-stack-id: E63ytp5dj",
408
- "messageHeadline": "lemon color",
409
- "oid": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
400
+ committedDate: "2024-02-25T03:41:46Z",
401
+ messageBody: "git-stack-id: E63ytp5dj",
402
+ messageHeadline: "lemon color",
403
+ oid: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
410
404
  },
411
405
  {
412
- "authoredDate": "2024-02-25T03:41:46Z",
413
- "authors": [
406
+ authoredDate: "2024-02-25T03:41:46Z",
407
+ authors: [
414
408
  {
415
- "email": "noah@iamnoah.com",
416
- "id": "MDQ6VXNlcjI5MDA4NA==",
417
- "login": "magus",
418
- "name": "magus",
409
+ email: "noah@iamnoah.com",
410
+ id: "MDQ6VXNlcjI5MDA4NA==",
411
+ login: "magus",
412
+ name: "magus",
419
413
  },
420
414
  ],
421
- "committedDate": "2024-02-25T03:41:46Z",
422
- "messageBody": "git-stack-id: E63ytp5dj",
423
- "messageHeadline": "cantaloupe color",
424
- "oid": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
415
+ committedDate: "2024-02-25T03:41:46Z",
416
+ messageBody: "git-stack-id: E63ytp5dj",
417
+ messageHeadline: "cantaloupe color",
418
+ oid: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
425
419
  },
426
420
  {
427
- "authoredDate": "2024-02-25T03:41:46Z",
428
- "authors": [
421
+ authoredDate: "2024-02-25T03:41:46Z",
422
+ authors: [
429
423
  {
430
- "email": "noah@iamnoah.com",
431
- "id": "MDQ6VXNlcjI5MDA4NA==",
432
- "login": "magus",
433
- "name": "magus",
424
+ email: "noah@iamnoah.com",
425
+ id: "MDQ6VXNlcjI5MDA4NA==",
426
+ login: "magus",
427
+ name: "magus",
434
428
  },
435
429
  ],
436
- "committedDate": "2024-02-25T03:41:46Z",
437
- "messageBody": "git-stack-id: E63ytp5dj",
438
- "messageHeadline": "banana sweet",
439
- "oid": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
430
+ committedDate: "2024-02-25T03:41:46Z",
431
+ messageBody: "git-stack-id: E63ytp5dj",
432
+ messageHeadline: "banana sweet",
433
+ oid: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
440
434
  },
441
435
  ],
442
- "headRefName": "E63ytp5dj",
443
- "number": 47,
444
- "state": "OPEN",
445
- "title": "lemon color",
446
- "url": "https://github.com/magus/git-multi-diff-playground/pull/47",
436
+ headRefName: "E63ytp5dj",
437
+ number: 47,
438
+ state: "OPEN",
439
+ title: "lemon color",
440
+ url: "https://github.com/magus/git-multi-diff-playground/pull/47",
447
441
  },
448
- "base": "AAWsYx1UU",
449
- "dirty": false,
450
- "commits": [
442
+ base: "AAWsYx1UU",
443
+ dirty: false,
444
+ commits: [
451
445
  {
452
- "sha": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
453
- "full_message": "lemon color\n\ngit-stack-id: E63ytp5dj",
454
- "subject_line": "lemon color",
455
- "branch_id": "E63ytp5dj",
456
- "title": null,
446
+ sha: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
447
+ full_message: "lemon color\n\ngit-stack-id: E63ytp5dj",
448
+ subject_line: "lemon color",
449
+ branch_id: "E63ytp5dj",
450
+ title: "lemon color",
457
451
  },
458
452
  {
459
- "sha": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
460
- "full_message": "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
461
- "subject_line": "cantaloupe color",
462
- "branch_id": "E63ytp5dj",
463
- "title": null,
453
+ sha: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
454
+ full_message: "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
455
+ subject_line: "cantaloupe color",
456
+ branch_id: "E63ytp5dj",
457
+ title: "lemon color",
464
458
  },
465
459
  {
466
- "sha": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
467
- "full_message": "banana sweet\n\ngit-stack-id: E63ytp5dj",
468
- "subject_line": "banana sweet",
469
- "branch_id": "E63ytp5dj",
470
- "title": null,
460
+ sha: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
461
+ full_message: "banana sweet\n\ngit-stack-id: E63ytp5dj",
462
+ subject_line: "banana sweet",
463
+ branch_id: "E63ytp5dj",
464
+ title: "lemon color",
471
465
  },
472
466
  ],
473
467
  },
474
468
  {
475
- "id": "6Ak-qn+5Z",
476
- "title": "new group",
477
- "pr": null,
478
- "base": "E63ytp5dj",
479
- "dirty": true,
480
- "commits": [
469
+ id: "6Ak-qn+5Z",
470
+ title: "new group",
471
+ pr: null,
472
+ base: "E63ytp5dj",
473
+ dirty: true,
474
+ commits: [
481
475
  {
482
- "sha": "f143d03c723c9f5231a81c1e12098511611898cb",
483
- "full_message": "apple sweet",
484
- "subject_line": "apple sweet",
485
- "branch_id": null,
486
- "title": null,
476
+ sha: "f143d03c723c9f5231a81c1e12098511611898cb",
477
+ full_message: "apple sweet",
478
+ subject_line: "apple sweet",
479
+ branch_id: "6Ak-qn+5Z",
480
+ title: "new group",
487
481
  },
488
482
  ],
489
483
  },
490
484
  ],
491
- "commit_list": [
485
+ commit_list: [
492
486
  {
493
- "sha": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
494
- "full_message": "banana color\n\ngit-stack-id: AAWsYx1UU",
495
- "subject_line": "banana color",
496
- "branch_id": "AAWsYx1UU",
497
- "title": null,
487
+ sha: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
488
+ full_message: "banana color\n\ngit-stack-id: AAWsYx1UU",
489
+ subject_line: "banana color",
490
+ branch_id: "AAWsYx1UU",
491
+ title: "banana",
498
492
  },
499
493
  {
500
- "sha": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
501
- "full_message": "lemon color\n\ngit-stack-id: E63ytp5dj",
502
- "subject_line": "lemon color",
503
- "branch_id": "E63ytp5dj",
504
- "title": null,
494
+ sha: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
495
+ full_message: "lemon color\n\ngit-stack-id: E63ytp5dj",
496
+ subject_line: "lemon color",
497
+ branch_id: "E63ytp5dj",
498
+ title: "lemon color",
505
499
  },
506
500
  {
507
- "sha": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
508
- "full_message": "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
509
- "subject_line": "cantaloupe color",
510
- "branch_id": "E63ytp5dj",
511
- "title": null,
501
+ sha: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
502
+ full_message: "cantaloupe color\n\ngit-stack-id: E63ytp5dj",
503
+ subject_line: "cantaloupe color",
504
+ branch_id: "E63ytp5dj",
505
+ title: "lemon color",
512
506
  },
513
507
  {
514
- "sha": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
515
- "full_message": "banana sweet\n\ngit-stack-id: E63ytp5dj",
516
- "subject_line": "banana sweet",
517
- "branch_id": "E63ytp5dj",
518
- "title": null,
508
+ sha: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
509
+ full_message: "banana sweet\n\ngit-stack-id: E63ytp5dj",
510
+ subject_line: "banana sweet",
511
+ branch_id: "E63ytp5dj",
512
+ title: "lemon color",
519
513
  },
520
514
  {
521
- "sha": "f143d03c723c9f5231a81c1e12098511611898cb",
522
- "full_message": "apple sweet",
523
- "subject_line": "apple sweet",
524
- "branch_id": null,
525
- "title": null,
515
+ sha: "f143d03c723c9f5231a81c1e12098511611898cb",
516
+ full_message: "apple sweet",
517
+ subject_line: "apple sweet",
518
+ branch_id: "6Ak-qn+5Z",
519
+ title: "new group",
526
520
  },
527
521
  ],
528
- "pr_lookup": {
529
- "AAWsYx1UU": {
530
- "baseRefName": "master",
531
- "body":
532
- "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
533
- "commits": [
522
+ pr_lookup: {
523
+ AAWsYx1UU: {
524
+ baseRefName: "master",
525
+ body: "adsf\r\n\r\n#### git stack\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/47\n- 👉 `1` https://github.com/magus/git-multi-diff-playground/pull/43",
526
+ commits: [
534
527
  {
535
- "authoredDate": "2024-02-25T03:41:42Z",
536
- "authors": [
528
+ authoredDate: "2024-02-25T03:41:42Z",
529
+ authors: [
537
530
  {
538
- "email": "noah@iamnoah.com",
539
- "id": "MDQ6VXNlcjI5MDA4NA==",
540
- "login": "magus",
541
- "name": "magus",
531
+ email: "noah@iamnoah.com",
532
+ id: "MDQ6VXNlcjI5MDA4NA==",
533
+ login: "magus",
534
+ name: "magus",
542
535
  },
543
536
  ],
544
- "committedDate": "2024-02-25T03:41:42Z",
545
- "messageBody": "git-stack-id: AAWsYx1UU",
546
- "messageHeadline": "banana color",
547
- "oid": "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
537
+ committedDate: "2024-02-25T03:41:42Z",
538
+ messageBody: "git-stack-id: AAWsYx1UU",
539
+ messageHeadline: "banana color",
540
+ oid: "35ff24f920c0778a8560e9a3ccdd1ca5ec16172b",
548
541
  },
549
542
  ],
550
- "headRefName": "AAWsYx1UU",
551
- "number": 43,
552
- "state": "OPEN",
553
- "title": "banana",
554
- "url": "https://github.com/magus/git-multi-diff-playground/pull/43",
543
+ headRefName: "AAWsYx1UU",
544
+ number: 43,
545
+ state: "OPEN",
546
+ title: "banana",
547
+ url: "https://github.com/magus/git-multi-diff-playground/pull/43",
555
548
  },
556
- "E63ytp5dj": {
557
- "baseRefName": "AAWsYx1UU",
558
- "body":
559
- "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
560
- "commits": [
549
+ E63ytp5dj: {
550
+ baseRefName: "AAWsYx1UU",
551
+ body: "\r\n\r\n#### git stack\n- 👉 `3` https://github.com/magus/git-multi-diff-playground/pull/47\n- ⏳ `2` https://github.com/magus/git-multi-diff-playground/pull/43\n- ✅ `1`\n https://github.com/magus/git-multi-diff-playground/pull/42",
552
+ commits: [
561
553
  {
562
- "authoredDate": "2024-02-25T03:41:46Z",
563
- "authors": [
554
+ authoredDate: "2024-02-25T03:41:46Z",
555
+ authors: [
564
556
  {
565
- "email": "noah@iamnoah.com",
566
- "id": "MDQ6VXNlcjI5MDA4NA==",
567
- "login": "magus",
568
- "name": "magus",
557
+ email: "noah@iamnoah.com",
558
+ id: "MDQ6VXNlcjI5MDA4NA==",
559
+ login: "magus",
560
+ name: "magus",
569
561
  },
570
562
  ],
571
- "committedDate": "2024-02-25T03:41:46Z",
572
- "messageBody": "git-stack-id: E63ytp5dj",
573
- "messageHeadline": "lemon color",
574
- "oid": "3cb22661ecff6c872e96ce9c40b31c824938cab7",
563
+ committedDate: "2024-02-25T03:41:46Z",
564
+ messageBody: "git-stack-id: E63ytp5dj",
565
+ messageHeadline: "lemon color",
566
+ oid: "3cb22661ecff6c872e96ce9c40b31c824938cab7",
575
567
  },
576
568
  {
577
- "authoredDate": "2024-02-25T03:41:46Z",
578
- "authors": [
569
+ authoredDate: "2024-02-25T03:41:46Z",
570
+ authors: [
579
571
  {
580
- "email": "noah@iamnoah.com",
581
- "id": "MDQ6VXNlcjI5MDA4NA==",
582
- "login": "magus",
583
- "name": "magus",
572
+ email: "noah@iamnoah.com",
573
+ id: "MDQ6VXNlcjI5MDA4NA==",
574
+ login: "magus",
575
+ name: "magus",
584
576
  },
585
577
  ],
586
- "committedDate": "2024-02-25T03:41:46Z",
587
- "messageBody": "git-stack-id: E63ytp5dj",
588
- "messageHeadline": "cantaloupe color",
589
- "oid": "d36d63499425bb46a1e62c2c9df1a4332b13004f",
578
+ committedDate: "2024-02-25T03:41:46Z",
579
+ messageBody: "git-stack-id: E63ytp5dj",
580
+ messageHeadline: "cantaloupe color",
581
+ oid: "d36d63499425bb46a1e62c2c9df1a4332b13004f",
590
582
  },
591
583
  {
592
- "authoredDate": "2024-02-25T03:41:46Z",
593
- "authors": [
584
+ authoredDate: "2024-02-25T03:41:46Z",
585
+ authors: [
594
586
  {
595
- "email": "noah@iamnoah.com",
596
- "id": "MDQ6VXNlcjI5MDA4NA==",
597
- "login": "magus",
598
- "name": "magus",
587
+ email: "noah@iamnoah.com",
588
+ id: "MDQ6VXNlcjI5MDA4NA==",
589
+ login: "magus",
590
+ name: "magus",
599
591
  },
600
592
  ],
601
- "committedDate": "2024-02-25T03:41:46Z",
602
- "messageBody": "git-stack-id: E63ytp5dj",
603
- "messageHeadline": "banana sweet",
604
- "oid": "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
593
+ committedDate: "2024-02-25T03:41:46Z",
594
+ messageBody: "git-stack-id: E63ytp5dj",
595
+ messageHeadline: "banana sweet",
596
+ oid: "4f98dd3e67d03b79d7a12480c7d1c2fcbd186ac5",
605
597
  },
606
598
  ],
607
- "headRefName": "E63ytp5dj",
608
- "number": 47,
609
- "state": "OPEN",
610
- "title": "lemon color",
611
- "url": "https://github.com/magus/git-multi-diff-playground/pull/47",
599
+ headRefName: "E63ytp5dj",
600
+ number: 47,
601
+ state: "OPEN",
602
+ title: "lemon color",
603
+ url: "https://github.com/magus/git-multi-diff-playground/pull/47",
612
604
  },
613
605
  },
614
- "UNASSIGNED": "unassigned",
606
+ UNASSIGNED: "unassigned",
615
607
  };
616
608
 
617
609
  const COMMIT_MESSAGE_WITH_QUOTES: CommitMetadata.CommitRange = {
618
- "invalid": false,
619
- "group_list": [
610
+ invalid: false,
611
+ group_list: [
620
612
  {
621
- "id": "6Ak-qn+5Z",
622
- "title": '[new] invalid "by me" quotes',
623
- "pr": null,
624
- "base": "E63ytp5dj",
625
- "dirty": true,
626
- "commits": [
613
+ id: "6Ak-qn+5Z",
614
+ title: '[new] invalid "by me" quotes',
615
+ pr: null,
616
+ base: "E63ytp5dj",
617
+ dirty: true,
618
+ commits: [
627
619
  {
628
- "sha": "f143d03c723c9f5231a81c1e12098511611898cb",
629
- "full_message": '[new] invalid "by me" quotes',
630
- "subject_line": '[new] invalid "by me" quotes',
631
- "branch_id": null,
632
- "title": null,
620
+ sha: "f143d03c723c9f5231a81c1e12098511611898cb",
621
+ full_message: '[new] invalid "by me" quotes',
622
+ subject_line: '[new] invalid "by me" quotes',
623
+ branch_id: "6Ak-qn+5Z",
624
+ title: '[new] invalid "by me" quotes',
633
625
  },
634
626
  ],
635
627
  },
636
628
  ],
637
- "commit_list": [
629
+ commit_list: [
638
630
  {
639
- "sha": "f143d03c723c9f5231a81c1e12098511611898cb",
640
- "full_message": '[new] invalid "by me" quotes',
641
- "subject_line": '[new] invalid "by me" quotes',
642
- "branch_id": null,
643
- "title": null,
631
+ sha: "f143d03c723c9f5231a81c1e12098511611898cb",
632
+ full_message: '[new] invalid "by me" quotes',
633
+ subject_line: '[new] invalid "by me" quotes',
634
+ branch_id: "6Ak-qn+5Z",
635
+ title: '[new] invalid "by me" quotes',
644
636
  },
645
637
  ],
646
- "pr_lookup": {},
647
- "UNASSIGNED": "unassigned",
638
+ pr_lookup: {},
639
+ UNASSIGNED: "unassigned",
648
640
  };