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