select/guard: fixed bashism
[guilt.git] / regression / t-020.out
blob75b5bcc635241e81023966b5608c40541bb98b74
1 % setup_repo
2 % guilt-push
3 Applying patch..modify
4 Patch applied.
5 % list_files
6 d .git/patches
7 d .git/patches/master
8 d .git/refs/patches
9 d .git/refs/patches/master
10 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
11 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
12 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
13 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
14 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
15 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
16 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
17 % git log -p
18 commit 33633e7a1aa31972f125878baf7807be57b1672d
19 Author: Author Name <author@email>
20 Date:   Mon Jan 1 00:00:00 2007 +0000
22     patch modify
24 diff --git a/def b/def
25 index 8baef1b..7d69c2f 100644
26 --- a/def
27 +++ b/def
28 @@ -1 +1,2 @@
29  abc
30 +asjhfksad
32 commit d4850419ccc1146c7169f500725ce504b9774ed0
33 Author: Author Name <author@email>
34 Date:   Mon Jan 1 00:00:00 2007 +0000
36     initial
37     
38     Signed-off-by: Commiter Name <commiter@email>
40 diff --git a/def b/def
41 new file mode 100644
42 index 0000000..8baef1b
43 --- /dev/null
44 +++ b/def
45 @@ -0,0 +1 @@
46 +abc
47 % guilt-push
48 Applying patch..add
49 Patch applied.
50 % list_files
51 d .git/patches
52 d .git/patches/master
53 d .git/refs/patches
54 d .git/refs/patches/master
55 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
56 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
57 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
58 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
59 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
60 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
61 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
62 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
63 % git log -p
64 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
65 Author: Author Name <author@email>
66 Date:   Mon Jan 1 00:00:00 2007 +0000
68     patch add
70 diff --git a/abd b/abd
71 new file mode 100644
72 index 0000000..489450e
73 --- /dev/null
74 +++ b/abd
75 @@ -0,0 +1 @@
76 +qweert
78 commit 33633e7a1aa31972f125878baf7807be57b1672d
79 Author: Author Name <author@email>
80 Date:   Mon Jan 1 00:00:00 2007 +0000
82     patch modify
84 diff --git a/def b/def
85 index 8baef1b..7d69c2f 100644
86 --- a/def
87 +++ b/def
88 @@ -1 +1,2 @@
89  abc
90 +asjhfksad
92 commit d4850419ccc1146c7169f500725ce504b9774ed0
93 Author: Author Name <author@email>
94 Date:   Mon Jan 1 00:00:00 2007 +0000
96     initial
97     
98     Signed-off-by: Commiter Name <commiter@email>
100 diff --git a/def b/def
101 new file mode 100644
102 index 0000000..8baef1b
103 --- /dev/null
104 +++ b/def
105 @@ -0,0 +1 @@
106 +abc
107 % guilt-push
108 Applying patch..remove
109 Patch applied.
110 % list_files
111 d .git/patches
112 d .git/patches/master
113 d .git/refs/patches
114 d .git/refs/patches/master
115 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
116 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
117 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
118 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
119 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
120 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
121 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
122 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
123 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
124 % git log -p
125 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
126 Author: Author Name <author@email>
127 Date:   Mon Jan 1 00:00:00 2007 +0000
129     patch remove
131 diff --git a/abd b/abd
132 deleted file mode 100644
133 index 489450e..0000000
134 --- a/abd
135 +++ /dev/null
136 @@ -1 +0,0 @@
137 -qweert
139 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
140 Author: Author Name <author@email>
141 Date:   Mon Jan 1 00:00:00 2007 +0000
143     patch add
145 diff --git a/abd b/abd
146 new file mode 100644
147 index 0000000..489450e
148 --- /dev/null
149 +++ b/abd
150 @@ -0,0 +1 @@
151 +qweert
153 commit 33633e7a1aa31972f125878baf7807be57b1672d
154 Author: Author Name <author@email>
155 Date:   Mon Jan 1 00:00:00 2007 +0000
157     patch modify
159 diff --git a/def b/def
160 index 8baef1b..7d69c2f 100644
161 --- a/def
162 +++ b/def
163 @@ -1 +1,2 @@
164  abc
165 +asjhfksad
167 commit d4850419ccc1146c7169f500725ce504b9774ed0
168 Author: Author Name <author@email>
169 Date:   Mon Jan 1 00:00:00 2007 +0000
171     initial
172     
173     Signed-off-by: Commiter Name <commiter@email>
175 diff --git a/def b/def
176 new file mode 100644
177 index 0000000..8baef1b
178 --- /dev/null
179 +++ b/def
180 @@ -0,0 +1 @@
181 +abc
182 % guilt-push
183 Applying patch..mode
184 Patch applied.
185 % list_files
186 d .git/patches
187 d .git/patches/master
188 d .git/refs/patches
189 d .git/refs/patches/master
190 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
191 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
192 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
193 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
194 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
195 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
196 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
197 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
198 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
199 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
200 % git log -p
201 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
202 Author: Author Name <author@email>
203 Date:   Mon Jan 1 00:00:00 2007 +0000
205     patch mode
207 diff --git a/def b/def
208 old mode 100644
209 new mode 100755
211 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
212 Author: Author Name <author@email>
213 Date:   Mon Jan 1 00:00:00 2007 +0000
215     patch remove
217 diff --git a/abd b/abd
218 deleted file mode 100644
219 index 489450e..0000000
220 --- a/abd
221 +++ /dev/null
222 @@ -1 +0,0 @@
223 -qweert
225 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
226 Author: Author Name <author@email>
227 Date:   Mon Jan 1 00:00:00 2007 +0000
229     patch add
231 diff --git a/abd b/abd
232 new file mode 100644
233 index 0000000..489450e
234 --- /dev/null
235 +++ b/abd
236 @@ -0,0 +1 @@
237 +qweert
239 commit 33633e7a1aa31972f125878baf7807be57b1672d
240 Author: Author Name <author@email>
241 Date:   Mon Jan 1 00:00:00 2007 +0000
243     patch modify
245 diff --git a/def b/def
246 index 8baef1b..7d69c2f 100644
247 --- a/def
248 +++ b/def
249 @@ -1 +1,2 @@
250  abc
251 +asjhfksad
253 commit d4850419ccc1146c7169f500725ce504b9774ed0
254 Author: Author Name <author@email>
255 Date:   Mon Jan 1 00:00:00 2007 +0000
257     initial
258     
259     Signed-off-by: Commiter Name <commiter@email>
261 diff --git a/def b/def
262 new file mode 100644
263 index 0000000..8baef1b
264 --- /dev/null
265 +++ b/def
266 @@ -0,0 +1 @@
267 +abc
268 % guilt-pop --all
269 All patches popped.
270 % guilt-push
271 Applying patch..modify
272 Patch applied.
273 % list_files
274 d .git/patches
275 d .git/patches/master
276 d .git/refs/patches
277 d .git/refs/patches/master
278 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
279 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
280 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
281 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
282 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
283 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
284 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
285 % git log -p
286 commit 33633e7a1aa31972f125878baf7807be57b1672d
287 Author: Author Name <author@email>
288 Date:   Mon Jan 1 00:00:00 2007 +0000
290     patch modify
292 diff --git a/def b/def
293 index 8baef1b..7d69c2f 100644
294 --- a/def
295 +++ b/def
296 @@ -1 +1,2 @@
297  abc
298 +asjhfksad
300 commit d4850419ccc1146c7169f500725ce504b9774ed0
301 Author: Author Name <author@email>
302 Date:   Mon Jan 1 00:00:00 2007 +0000
304     initial
305     
306     Signed-off-by: Commiter Name <commiter@email>
308 diff --git a/def b/def
309 new file mode 100644
310 index 0000000..8baef1b
311 --- /dev/null
312 +++ b/def
313 @@ -0,0 +1 @@
314 +abc
315 % guilt-pop --all
316 All patches popped.
317 % guilt-push
318 Applying patch..modify
319 Patch applied.
320 % list_files
321 d .git/patches
322 d .git/patches/master
323 d .git/refs/patches
324 d .git/refs/patches/master
325 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
326 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
327 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
328 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
329 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
330 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
331 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
332 % git log -p
333 commit 33633e7a1aa31972f125878baf7807be57b1672d
334 Author: Author Name <author@email>
335 Date:   Mon Jan 1 00:00:00 2007 +0000
337     patch modify
339 diff --git a/def b/def
340 index 8baef1b..7d69c2f 100644
341 --- a/def
342 +++ b/def
343 @@ -1 +1,2 @@
344  abc
345 +asjhfksad
347 commit d4850419ccc1146c7169f500725ce504b9774ed0
348 Author: Author Name <author@email>
349 Date:   Mon Jan 1 00:00:00 2007 +0000
351     initial
352     
353     Signed-off-by: Commiter Name <commiter@email>
355 diff --git a/def b/def
356 new file mode 100644
357 index 0000000..8baef1b
358 --- /dev/null
359 +++ b/def
360 @@ -0,0 +1 @@
361 +abc
362 % guilt-pop --all
363 All patches popped.
364 % guilt-push
365 Applying patch..modify
366 Patch applied.
367 % list_files
368 d .git/patches
369 d .git/patches/master
370 d .git/refs/patches
371 d .git/refs/patches/master
372 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
373 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
374 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
375 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
376 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
377 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
378 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
379 % git log -p
380 commit 33633e7a1aa31972f125878baf7807be57b1672d
381 Author: Author Name <author@email>
382 Date:   Mon Jan 1 00:00:00 2007 +0000
384     patch modify
386 diff --git a/def b/def
387 index 8baef1b..7d69c2f 100644
388 --- a/def
389 +++ b/def
390 @@ -1 +1,2 @@
391  abc
392 +asjhfksad
394 commit d4850419ccc1146c7169f500725ce504b9774ed0
395 Author: Author Name <author@email>
396 Date:   Mon Jan 1 00:00:00 2007 +0000
398     initial
399     
400     Signed-off-by: Commiter Name <commiter@email>
402 diff --git a/def b/def
403 new file mode 100644
404 index 0000000..8baef1b
405 --- /dev/null
406 +++ b/def
407 @@ -0,0 +1 @@
408 +abc
409 % guilt-pop --all
410 All patches popped.
411 % guilt-push
412 Applying patch..modify
413 Patch applied.
414 % list_files
415 d .git/patches
416 d .git/patches/master
417 d .git/refs/patches
418 d .git/refs/patches/master
419 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
420 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
421 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
422 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
423 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
424 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
425 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
426 % git log -p
427 commit 33633e7a1aa31972f125878baf7807be57b1672d
428 Author: Author Name <author@email>
429 Date:   Mon Jan 1 00:00:00 2007 +0000
431     patch modify
433 diff --git a/def b/def
434 index 8baef1b..7d69c2f 100644
435 --- a/def
436 +++ b/def
437 @@ -1 +1,2 @@
438  abc
439 +asjhfksad
441 commit d4850419ccc1146c7169f500725ce504b9774ed0
442 Author: Author Name <author@email>
443 Date:   Mon Jan 1 00:00:00 2007 +0000
445     initial
446     
447     Signed-off-by: Commiter Name <commiter@email>
449 diff --git a/def b/def
450 new file mode 100644
451 index 0000000..8baef1b
452 --- /dev/null
453 +++ b/def
454 @@ -0,0 +1 @@
455 +abc
456 % guilt-pop --all
457 All patches popped.
458 % guilt-push
459 Applying patch..modify
460 Patch applied.
461 % list_files
462 d .git/patches
463 d .git/patches/master
464 d .git/refs/patches
465 d .git/refs/patches/master
466 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
467 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
468 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
469 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
470 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
471 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
472 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
473 % git log -p
474 commit 33633e7a1aa31972f125878baf7807be57b1672d
475 Author: Author Name <author@email>
476 Date:   Mon Jan 1 00:00:00 2007 +0000
478     patch modify
480 diff --git a/def b/def
481 index 8baef1b..7d69c2f 100644
482 --- a/def
483 +++ b/def
484 @@ -1 +1,2 @@
485  abc
486 +asjhfksad
488 commit d4850419ccc1146c7169f500725ce504b9774ed0
489 Author: Author Name <author@email>
490 Date:   Mon Jan 1 00:00:00 2007 +0000
492     initial
493     
494     Signed-off-by: Commiter Name <commiter@email>
496 diff --git a/def b/def
497 new file mode 100644
498 index 0000000..8baef1b
499 --- /dev/null
500 +++ b/def
501 @@ -0,0 +1 @@
502 +abc
503 % guilt-push
504 Applying patch..add
505 Patch applied.
506 % list_files
507 d .git/patches
508 d .git/patches/master
509 d .git/refs/patches
510 d .git/refs/patches/master
511 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
512 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
513 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
514 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
515 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
516 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
517 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
518 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
519 % git log -p
520 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
521 Author: Author Name <author@email>
522 Date:   Mon Jan 1 00:00:00 2007 +0000
524     patch add
526 diff --git a/abd b/abd
527 new file mode 100644
528 index 0000000..489450e
529 --- /dev/null
530 +++ b/abd
531 @@ -0,0 +1 @@
532 +qweert
534 commit 33633e7a1aa31972f125878baf7807be57b1672d
535 Author: Author Name <author@email>
536 Date:   Mon Jan 1 00:00:00 2007 +0000
538     patch modify
540 diff --git a/def b/def
541 index 8baef1b..7d69c2f 100644
542 --- a/def
543 +++ b/def
544 @@ -1 +1,2 @@
545  abc
546 +asjhfksad
548 commit d4850419ccc1146c7169f500725ce504b9774ed0
549 Author: Author Name <author@email>
550 Date:   Mon Jan 1 00:00:00 2007 +0000
552     initial
553     
554     Signed-off-by: Commiter Name <commiter@email>
556 diff --git a/def b/def
557 new file mode 100644
558 index 0000000..8baef1b
559 --- /dev/null
560 +++ b/def
561 @@ -0,0 +1 @@
562 +abc
563 % guilt-push
564 Applying patch..remove
565 Patch applied.
566 % list_files
567 d .git/patches
568 d .git/patches/master
569 d .git/refs/patches
570 d .git/refs/patches/master
571 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
572 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
573 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
574 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
575 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
576 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
577 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
578 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
579 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
580 % git log -p
581 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
582 Author: Author Name <author@email>
583 Date:   Mon Jan 1 00:00:00 2007 +0000
585     patch remove
587 diff --git a/abd b/abd
588 deleted file mode 100644
589 index 489450e..0000000
590 --- a/abd
591 +++ /dev/null
592 @@ -1 +0,0 @@
593 -qweert
595 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
596 Author: Author Name <author@email>
597 Date:   Mon Jan 1 00:00:00 2007 +0000
599     patch add
601 diff --git a/abd b/abd
602 new file mode 100644
603 index 0000000..489450e
604 --- /dev/null
605 +++ b/abd
606 @@ -0,0 +1 @@
607 +qweert
609 commit 33633e7a1aa31972f125878baf7807be57b1672d
610 Author: Author Name <author@email>
611 Date:   Mon Jan 1 00:00:00 2007 +0000
613     patch modify
615 diff --git a/def b/def
616 index 8baef1b..7d69c2f 100644
617 --- a/def
618 +++ b/def
619 @@ -1 +1,2 @@
620  abc
621 +asjhfksad
623 commit d4850419ccc1146c7169f500725ce504b9774ed0
624 Author: Author Name <author@email>
625 Date:   Mon Jan 1 00:00:00 2007 +0000
627     initial
628     
629     Signed-off-by: Commiter Name <commiter@email>
631 diff --git a/def b/def
632 new file mode 100644
633 index 0000000..8baef1b
634 --- /dev/null
635 +++ b/def
636 @@ -0,0 +1 @@
637 +abc
638 % guilt-push
639 Applying patch..mode
640 Patch applied.
641 % list_files
642 d .git/patches
643 d .git/patches/master
644 d .git/refs/patches
645 d .git/refs/patches/master
646 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
647 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
648 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
649 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
650 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
651 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
652 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
653 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
654 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
655 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
656 % git log -p
657 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
658 Author: Author Name <author@email>
659 Date:   Mon Jan 1 00:00:00 2007 +0000
661     patch mode
663 diff --git a/def b/def
664 old mode 100644
665 new mode 100755
667 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
668 Author: Author Name <author@email>
669 Date:   Mon Jan 1 00:00:00 2007 +0000
671     patch remove
673 diff --git a/abd b/abd
674 deleted file mode 100644
675 index 489450e..0000000
676 --- a/abd
677 +++ /dev/null
678 @@ -1 +0,0 @@
679 -qweert
681 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
682 Author: Author Name <author@email>
683 Date:   Mon Jan 1 00:00:00 2007 +0000
685     patch add
687 diff --git a/abd b/abd
688 new file mode 100644
689 index 0000000..489450e
690 --- /dev/null
691 +++ b/abd
692 @@ -0,0 +1 @@
693 +qweert
695 commit 33633e7a1aa31972f125878baf7807be57b1672d
696 Author: Author Name <author@email>
697 Date:   Mon Jan 1 00:00:00 2007 +0000
699     patch modify
701 diff --git a/def b/def
702 index 8baef1b..7d69c2f 100644
703 --- a/def
704 +++ b/def
705 @@ -1 +1,2 @@
706  abc
707 +asjhfksad
709 commit d4850419ccc1146c7169f500725ce504b9774ed0
710 Author: Author Name <author@email>
711 Date:   Mon Jan 1 00:00:00 2007 +0000
713     initial
714     
715     Signed-off-by: Commiter Name <commiter@email>
717 diff --git a/def b/def
718 new file mode 100644
719 index 0000000..8baef1b
720 --- /dev/null
721 +++ b/def
722 @@ -0,0 +1 @@
723 +abc
724 % guilt-pop --all
725 All patches popped.
726 % guilt-push -n -2
727 Invalid number of patches to push.
728 % list_files
729 d .git/patches
730 d .git/patches/master
731 d .git/refs/patches
732 d .git/refs/patches/master
733 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
734 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
735 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
736 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
737 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
738 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
739 % git log -p
740 commit d4850419ccc1146c7169f500725ce504b9774ed0
741 Author: Author Name <author@email>
742 Date:   Mon Jan 1 00:00:00 2007 +0000
744     initial
745     
746     Signed-off-by: Commiter Name <commiter@email>
748 diff --git a/def b/def
749 new file mode 100644
750 index 0000000..8baef1b
751 --- /dev/null
752 +++ b/def
753 @@ -0,0 +1 @@
754 +abc
755 % guilt-pop --all
756 No patches applied.
757 % guilt-push -n -1
758 Invalid number of patches to push.
759 % list_files
760 d .git/patches
761 d .git/patches/master
762 d .git/refs/patches
763 d .git/refs/patches/master
764 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
765 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
766 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
767 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
768 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
769 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
770 % git log -p
771 commit d4850419ccc1146c7169f500725ce504b9774ed0
772 Author: Author Name <author@email>
773 Date:   Mon Jan 1 00:00:00 2007 +0000
775     initial
776     
777     Signed-off-by: Commiter Name <commiter@email>
779 diff --git a/def b/def
780 new file mode 100644
781 index 0000000..8baef1b
782 --- /dev/null
783 +++ b/def
784 @@ -0,0 +1 @@
785 +abc
786 % guilt-pop --all
787 No patches applied.
788 % guilt-push -n 0
789 Patch is already applied.
790 % list_files
791 d .git/patches
792 d .git/patches/master
793 d .git/refs/patches
794 d .git/refs/patches/master
795 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
796 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
797 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
798 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
799 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
800 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
801 % git log -p
802 commit d4850419ccc1146c7169f500725ce504b9774ed0
803 Author: Author Name <author@email>
804 Date:   Mon Jan 1 00:00:00 2007 +0000
806     initial
807     
808     Signed-off-by: Commiter Name <commiter@email>
810 diff --git a/def b/def
811 new file mode 100644
812 index 0000000..8baef1b
813 --- /dev/null
814 +++ b/def
815 @@ -0,0 +1 @@
816 +abc
817 % guilt-pop --all
818 No patches applied.
819 % guilt-push -n 1
820 Applying patch..modify
821 Patch applied.
822 % list_files
823 d .git/patches
824 d .git/patches/master
825 d .git/refs/patches
826 d .git/refs/patches/master
827 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
828 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
829 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
830 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
831 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
832 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
833 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
834 % git log -p
835 commit 33633e7a1aa31972f125878baf7807be57b1672d
836 Author: Author Name <author@email>
837 Date:   Mon Jan 1 00:00:00 2007 +0000
839     patch modify
841 diff --git a/def b/def
842 index 8baef1b..7d69c2f 100644
843 --- a/def
844 +++ b/def
845 @@ -1 +1,2 @@
846  abc
847 +asjhfksad
849 commit d4850419ccc1146c7169f500725ce504b9774ed0
850 Author: Author Name <author@email>
851 Date:   Mon Jan 1 00:00:00 2007 +0000
853     initial
854     
855     Signed-off-by: Commiter Name <commiter@email>
857 diff --git a/def b/def
858 new file mode 100644
859 index 0000000..8baef1b
860 --- /dev/null
861 +++ b/def
862 @@ -0,0 +1 @@
863 +abc
864 % guilt-pop --all
865 All patches popped.
866 % guilt-push -n 2
867 Applying patch..modify
868 Patch applied.
869 Applying patch..add
870 Patch applied.
871 % list_files
872 d .git/patches
873 d .git/patches/master
874 d .git/refs/patches
875 d .git/refs/patches/master
876 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
877 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
878 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
879 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
880 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
881 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
882 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
883 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
884 % git log -p
885 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
886 Author: Author Name <author@email>
887 Date:   Mon Jan 1 00:00:00 2007 +0000
889     patch add
891 diff --git a/abd b/abd
892 new file mode 100644
893 index 0000000..489450e
894 --- /dev/null
895 +++ b/abd
896 @@ -0,0 +1 @@
897 +qweert
899 commit 33633e7a1aa31972f125878baf7807be57b1672d
900 Author: Author Name <author@email>
901 Date:   Mon Jan 1 00:00:00 2007 +0000
903     patch modify
905 diff --git a/def b/def
906 index 8baef1b..7d69c2f 100644
907 --- a/def
908 +++ b/def
909 @@ -1 +1,2 @@
910  abc
911 +asjhfksad
913 commit d4850419ccc1146c7169f500725ce504b9774ed0
914 Author: Author Name <author@email>
915 Date:   Mon Jan 1 00:00:00 2007 +0000
917     initial
918     
919     Signed-off-by: Commiter Name <commiter@email>
921 diff --git a/def b/def
922 new file mode 100644
923 index 0000000..8baef1b
924 --- /dev/null
925 +++ b/def
926 @@ -0,0 +1 @@
927 +abc
928 % guilt-pop --all
929 All patches popped.
930 % guilt-push -n 3
931 Applying patch..modify
932 Patch applied.
933 Applying patch..add
934 Patch applied.
935 Applying patch..remove
936 Patch applied.
937 % list_files
938 d .git/patches
939 d .git/patches/master
940 d .git/refs/patches
941 d .git/refs/patches/master
942 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
943 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
944 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
945 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
946 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
947 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
948 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
949 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
950 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
951 % git log -p
952 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
953 Author: Author Name <author@email>
954 Date:   Mon Jan 1 00:00:00 2007 +0000
956     patch remove
958 diff --git a/abd b/abd
959 deleted file mode 100644
960 index 489450e..0000000
961 --- a/abd
962 +++ /dev/null
963 @@ -1 +0,0 @@
964 -qweert
966 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
967 Author: Author Name <author@email>
968 Date:   Mon Jan 1 00:00:00 2007 +0000
970     patch add
972 diff --git a/abd b/abd
973 new file mode 100644
974 index 0000000..489450e
975 --- /dev/null
976 +++ b/abd
977 @@ -0,0 +1 @@
978 +qweert
980 commit 33633e7a1aa31972f125878baf7807be57b1672d
981 Author: Author Name <author@email>
982 Date:   Mon Jan 1 00:00:00 2007 +0000
984     patch modify
986 diff --git a/def b/def
987 index 8baef1b..7d69c2f 100644
988 --- a/def
989 +++ b/def
990 @@ -1 +1,2 @@
991  abc
992 +asjhfksad
994 commit d4850419ccc1146c7169f500725ce504b9774ed0
995 Author: Author Name <author@email>
996 Date:   Mon Jan 1 00:00:00 2007 +0000
998     initial
999     
1000     Signed-off-by: Commiter Name <commiter@email>
1002 diff --git a/def b/def
1003 new file mode 100644
1004 index 0000000..8baef1b
1005 --- /dev/null
1006 +++ b/def
1007 @@ -0,0 +1 @@
1008 +abc
1009 % guilt-pop --all
1010 All patches popped.
1011 % guilt-push -n 4
1012 Applying patch..modify
1013 Patch applied.
1014 Applying patch..add
1015 Patch applied.
1016 Applying patch..remove
1017 Patch applied.
1018 Applying patch..mode
1019 Patch applied.
1020 % list_files
1021 d .git/patches
1022 d .git/patches/master
1023 d .git/refs/patches
1024 d .git/refs/patches/master
1025 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1026 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1027 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
1028 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1029 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1030 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1031 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
1032 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
1033 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
1034 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
1035 % git log -p
1036 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
1037 Author: Author Name <author@email>
1038 Date:   Mon Jan 1 00:00:00 2007 +0000
1040     patch mode
1042 diff --git a/def b/def
1043 old mode 100644
1044 new mode 100755
1046 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
1047 Author: Author Name <author@email>
1048 Date:   Mon Jan 1 00:00:00 2007 +0000
1050     patch remove
1052 diff --git a/abd b/abd
1053 deleted file mode 100644
1054 index 489450e..0000000
1055 --- a/abd
1056 +++ /dev/null
1057 @@ -1 +0,0 @@
1058 -qweert
1060 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
1061 Author: Author Name <author@email>
1062 Date:   Mon Jan 1 00:00:00 2007 +0000
1064     patch add
1066 diff --git a/abd b/abd
1067 new file mode 100644
1068 index 0000000..489450e
1069 --- /dev/null
1070 +++ b/abd
1071 @@ -0,0 +1 @@
1072 +qweert
1074 commit 33633e7a1aa31972f125878baf7807be57b1672d
1075 Author: Author Name <author@email>
1076 Date:   Mon Jan 1 00:00:00 2007 +0000
1078     patch modify
1080 diff --git a/def b/def
1081 index 8baef1b..7d69c2f 100644
1082 --- a/def
1083 +++ b/def
1084 @@ -1 +1,2 @@
1085  abc
1086 +asjhfksad
1088 commit d4850419ccc1146c7169f500725ce504b9774ed0
1089 Author: Author Name <author@email>
1090 Date:   Mon Jan 1 00:00:00 2007 +0000
1092     initial
1093     
1094     Signed-off-by: Commiter Name <commiter@email>
1096 diff --git a/def b/def
1097 new file mode 100644
1098 index 0000000..8baef1b
1099 --- /dev/null
1100 +++ b/def
1101 @@ -0,0 +1 @@
1102 +abc
1103 % guilt-pop --all
1104 All patches popped.
1105 % list_files
1106 d .git/patches
1107 d .git/patches/master
1108 d .git/refs/patches
1109 d .git/refs/patches/master
1110 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1111 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1112 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1113 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1114 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1115 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status