autotagging: fix a tiny quirk, and document autotagging properly
[guilt.git] / regression / t-021.out
blobcd8ae96383e1f915a6706c3d48ab6762a25e1b19
1 % setup_repo
2 % guilt-push --all
3 Applying patch..modify
4 Patch applied.
5 Applying patch..add
6 Patch applied.
7 Applying patch..remove
8 Patch applied.
9 Applying patch..mode
10 Patch applied.
11 % git-log -p
12 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
13 Author: Author Name <author@email>
14 Date:   Mon Jan 1 00:00:00 2007 +0000
16     patch mode
18 diff --git a/def b/def
19 old mode 100644
20 new mode 100755
22 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
23 Author: Author Name <author@email>
24 Date:   Mon Jan 1 00:00:00 2007 +0000
26     patch remove
28 diff --git a/abd b/abd
29 deleted file mode 100644
30 index 489450e..0000000
31 --- a/abd
32 +++ /dev/null
33 @@ -1 +0,0 @@
34 -qweert
36 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
37 Author: Author Name <author@email>
38 Date:   Mon Jan 1 00:00:00 2007 +0000
40     patch add
42 diff --git a/abd b/abd
43 new file mode 100644
44 index 0000000..489450e
45 --- /dev/null
46 +++ b/abd
47 @@ -0,0 +1 @@
48 +qweert
50 commit 33633e7a1aa31972f125878baf7807be57b1672d
51 Author: Author Name <author@email>
52 Date:   Mon Jan 1 00:00:00 2007 +0000
54     patch modify
56 diff --git a/def b/def
57 index 8baef1b..7d69c2f 100644
58 --- a/def
59 +++ b/def
60 @@ -1 +1,2 @@
61  abc
62 +asjhfksad
64 commit d4850419ccc1146c7169f500725ce504b9774ed0
65 Author: Author Name <author@email>
66 Date:   Mon Jan 1 00:00:00 2007 +0000
68     initial
69     
70     Signed-off-by: Commiter Name <commiter@email>
72 diff --git a/def b/def
73 new file mode 100644
74 index 0000000..8baef1b
75 --- /dev/null
76 +++ b/def
77 @@ -0,0 +1 @@
78 +abc
79 % guilt-pop
80 Now at remove.
81 % list_files
82 d .git/patches
83 d .git/patches/master
84 d .git/refs/patches
85 d .git/refs/patches/master
86 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
87 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
88 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
89 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
90 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
91 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
92 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
93 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
94 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
95 % git-log -p
96 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
97 Author: Author Name <author@email>
98 Date:   Mon Jan 1 00:00:00 2007 +0000
100     patch remove
102 diff --git a/abd b/abd
103 deleted file mode 100644
104 index 489450e..0000000
105 --- a/abd
106 +++ /dev/null
107 @@ -1 +0,0 @@
108 -qweert
110 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
111 Author: Author Name <author@email>
112 Date:   Mon Jan 1 00:00:00 2007 +0000
114     patch add
116 diff --git a/abd b/abd
117 new file mode 100644
118 index 0000000..489450e
119 --- /dev/null
120 +++ b/abd
121 @@ -0,0 +1 @@
122 +qweert
124 commit 33633e7a1aa31972f125878baf7807be57b1672d
125 Author: Author Name <author@email>
126 Date:   Mon Jan 1 00:00:00 2007 +0000
128     patch modify
130 diff --git a/def b/def
131 index 8baef1b..7d69c2f 100644
132 --- a/def
133 +++ b/def
134 @@ -1 +1,2 @@
135  abc
136 +asjhfksad
138 commit d4850419ccc1146c7169f500725ce504b9774ed0
139 Author: Author Name <author@email>
140 Date:   Mon Jan 1 00:00:00 2007 +0000
142     initial
143     
144     Signed-off-by: Commiter Name <commiter@email>
146 diff --git a/def b/def
147 new file mode 100644
148 index 0000000..8baef1b
149 --- /dev/null
150 +++ b/def
151 @@ -0,0 +1 @@
152 +abc
153 % guilt-pop
154 Now at add.
155 % list_files
156 d .git/patches
157 d .git/patches/master
158 d .git/refs/patches
159 d .git/refs/patches/master
160 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
161 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
162 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
163 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
164 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
165 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
166 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
167 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
168 % git-log -p
169 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
170 Author: Author Name <author@email>
171 Date:   Mon Jan 1 00:00:00 2007 +0000
173     patch add
175 diff --git a/abd b/abd
176 new file mode 100644
177 index 0000000..489450e
178 --- /dev/null
179 +++ b/abd
180 @@ -0,0 +1 @@
181 +qweert
183 commit 33633e7a1aa31972f125878baf7807be57b1672d
184 Author: Author Name <author@email>
185 Date:   Mon Jan 1 00:00:00 2007 +0000
187     patch modify
189 diff --git a/def b/def
190 index 8baef1b..7d69c2f 100644
191 --- a/def
192 +++ b/def
193 @@ -1 +1,2 @@
194  abc
195 +asjhfksad
197 commit d4850419ccc1146c7169f500725ce504b9774ed0
198 Author: Author Name <author@email>
199 Date:   Mon Jan 1 00:00:00 2007 +0000
201     initial
202     
203     Signed-off-by: Commiter Name <commiter@email>
205 diff --git a/def b/def
206 new file mode 100644
207 index 0000000..8baef1b
208 --- /dev/null
209 +++ b/def
210 @@ -0,0 +1 @@
211 +abc
212 % guilt-pop
213 Now at modify.
214 % list_files
215 d .git/patches
216 d .git/patches/master
217 d .git/refs/patches
218 d .git/refs/patches/master
219 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
220 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
221 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
222 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
223 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
224 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
225 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
226 % git-log -p
227 commit 33633e7a1aa31972f125878baf7807be57b1672d
228 Author: Author Name <author@email>
229 Date:   Mon Jan 1 00:00:00 2007 +0000
231     patch modify
233 diff --git a/def b/def
234 index 8baef1b..7d69c2f 100644
235 --- a/def
236 +++ b/def
237 @@ -1 +1,2 @@
238  abc
239 +asjhfksad
241 commit d4850419ccc1146c7169f500725ce504b9774ed0
242 Author: Author Name <author@email>
243 Date:   Mon Jan 1 00:00:00 2007 +0000
245     initial
246     
247     Signed-off-by: Commiter Name <commiter@email>
249 diff --git a/def b/def
250 new file mode 100644
251 index 0000000..8baef1b
252 --- /dev/null
253 +++ b/def
254 @@ -0,0 +1 @@
255 +abc
256 % guilt-pop
257 All patches popped.
258 % list_files
259 d .git/patches
260 d .git/patches/master
261 d .git/refs/patches
262 d .git/refs/patches/master
263 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
264 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
265 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
266 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
267 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
268 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
269 % git-log -p
270 commit d4850419ccc1146c7169f500725ce504b9774ed0
271 Author: Author Name <author@email>
272 Date:   Mon Jan 1 00:00:00 2007 +0000
274     initial
275     
276     Signed-off-by: Commiter Name <commiter@email>
278 diff --git a/def b/def
279 new file mode 100644
280 index 0000000..8baef1b
281 --- /dev/null
282 +++ b/def
283 @@ -0,0 +1 @@
284 +abc
285 % guilt-push --all
286 Applying patch..modify
287 Patch applied.
288 Applying patch..add
289 Patch applied.
290 Applying patch..remove
291 Patch applied.
292 Applying patch..mode
293 Patch applied.
294 % guilt-pop mode
295 Now at remove.
296 % list_files
297 d .git/patches
298 d .git/patches/master
299 d .git/refs/patches
300 d .git/refs/patches/master
301 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
302 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
303 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
304 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
305 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
306 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
307 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
308 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
309 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
310 % git-log -p
311 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
312 Author: Author Name <author@email>
313 Date:   Mon Jan 1 00:00:00 2007 +0000
315     patch remove
317 diff --git a/abd b/abd
318 deleted file mode 100644
319 index 489450e..0000000
320 --- a/abd
321 +++ /dev/null
322 @@ -1 +0,0 @@
323 -qweert
325 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
326 Author: Author Name <author@email>
327 Date:   Mon Jan 1 00:00:00 2007 +0000
329     patch add
331 diff --git a/abd b/abd
332 new file mode 100644
333 index 0000000..489450e
334 --- /dev/null
335 +++ b/abd
336 @@ -0,0 +1 @@
337 +qweert
339 commit 33633e7a1aa31972f125878baf7807be57b1672d
340 Author: Author Name <author@email>
341 Date:   Mon Jan 1 00:00:00 2007 +0000
343     patch modify
345 diff --git a/def b/def
346 index 8baef1b..7d69c2f 100644
347 --- a/def
348 +++ b/def
349 @@ -1 +1,2 @@
350  abc
351 +asjhfksad
353 commit d4850419ccc1146c7169f500725ce504b9774ed0
354 Author: Author Name <author@email>
355 Date:   Mon Jan 1 00:00:00 2007 +0000
357     initial
358     
359     Signed-off-by: Commiter Name <commiter@email>
361 diff --git a/def b/def
362 new file mode 100644
363 index 0000000..8baef1b
364 --- /dev/null
365 +++ b/def
366 @@ -0,0 +1 @@
367 +abc
368 % guilt-push --all
369 Applying patch..mode
370 Patch applied.
371 % guilt-pop remove
372 Now at add.
373 % list_files
374 d .git/patches
375 d .git/patches/master
376 d .git/refs/patches
377 d .git/refs/patches/master
378 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
379 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
380 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
381 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
382 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
383 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
384 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
385 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
386 % git-log -p
387 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
388 Author: Author Name <author@email>
389 Date:   Mon Jan 1 00:00:00 2007 +0000
391     patch add
393 diff --git a/abd b/abd
394 new file mode 100644
395 index 0000000..489450e
396 --- /dev/null
397 +++ b/abd
398 @@ -0,0 +1 @@
399 +qweert
401 commit 33633e7a1aa31972f125878baf7807be57b1672d
402 Author: Author Name <author@email>
403 Date:   Mon Jan 1 00:00:00 2007 +0000
405     patch modify
407 diff --git a/def b/def
408 index 8baef1b..7d69c2f 100644
409 --- a/def
410 +++ b/def
411 @@ -1 +1,2 @@
412  abc
413 +asjhfksad
415 commit d4850419ccc1146c7169f500725ce504b9774ed0
416 Author: Author Name <author@email>
417 Date:   Mon Jan 1 00:00:00 2007 +0000
419     initial
420     
421     Signed-off-by: Commiter Name <commiter@email>
423 diff --git a/def b/def
424 new file mode 100644
425 index 0000000..8baef1b
426 --- /dev/null
427 +++ b/def
428 @@ -0,0 +1 @@
429 +abc
430 % guilt-push --all
431 Applying patch..remove
432 Patch applied.
433 Applying patch..mode
434 Patch applied.
435 % guilt-pop add
436 Now at modify.
437 % list_files
438 d .git/patches
439 d .git/patches/master
440 d .git/refs/patches
441 d .git/refs/patches/master
442 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
443 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
444 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
445 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
446 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
447 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
448 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
449 % git-log -p
450 commit 33633e7a1aa31972f125878baf7807be57b1672d
451 Author: Author Name <author@email>
452 Date:   Mon Jan 1 00:00:00 2007 +0000
454     patch modify
456 diff --git a/def b/def
457 index 8baef1b..7d69c2f 100644
458 --- a/def
459 +++ b/def
460 @@ -1 +1,2 @@
461  abc
462 +asjhfksad
464 commit d4850419ccc1146c7169f500725ce504b9774ed0
465 Author: Author Name <author@email>
466 Date:   Mon Jan 1 00:00:00 2007 +0000
468     initial
469     
470     Signed-off-by: Commiter Name <commiter@email>
472 diff --git a/def b/def
473 new file mode 100644
474 index 0000000..8baef1b
475 --- /dev/null
476 +++ b/def
477 @@ -0,0 +1 @@
478 +abc
479 % guilt-push --all
480 Applying patch..add
481 Patch applied.
482 Applying patch..remove
483 Patch applied.
484 Applying patch..mode
485 Patch applied.
486 % guilt-pop modify
487 All patches popped.
488 % list_files
489 d .git/patches
490 d .git/patches/master
491 d .git/refs/patches
492 d .git/refs/patches/master
493 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
494 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
495 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
496 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
497 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
498 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
499 % git-log -p
500 commit d4850419ccc1146c7169f500725ce504b9774ed0
501 Author: Author Name <author@email>
502 Date:   Mon Jan 1 00:00:00 2007 +0000
504     initial
505     
506     Signed-off-by: Commiter Name <commiter@email>
508 diff --git a/def b/def
509 new file mode 100644
510 index 0000000..8baef1b
511 --- /dev/null
512 +++ b/def
513 @@ -0,0 +1 @@
514 +abc
515 % guilt-push --all
516 Applying patch..modify
517 Patch applied.
518 Applying patch..add
519 Patch applied.
520 Applying patch..remove
521 Patch applied.
522 Applying patch..mode
523 Patch applied.
524 % guilt-pop
525 Now at remove.
526 % list_files
527 d .git/patches
528 d .git/patches/master
529 d .git/refs/patches
530 d .git/refs/patches/master
531 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
532 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
533 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
534 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
535 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
536 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
537 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
538 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
539 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
540 % git-log -p
541 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
542 Author: Author Name <author@email>
543 Date:   Mon Jan 1 00:00:00 2007 +0000
545     patch remove
547 diff --git a/abd b/abd
548 deleted file mode 100644
549 index 489450e..0000000
550 --- a/abd
551 +++ /dev/null
552 @@ -1 +0,0 @@
553 -qweert
555 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
556 Author: Author Name <author@email>
557 Date:   Mon Jan 1 00:00:00 2007 +0000
559     patch add
561 diff --git a/abd b/abd
562 new file mode 100644
563 index 0000000..489450e
564 --- /dev/null
565 +++ b/abd
566 @@ -0,0 +1 @@
567 +qweert
569 commit 33633e7a1aa31972f125878baf7807be57b1672d
570 Author: Author Name <author@email>
571 Date:   Mon Jan 1 00:00:00 2007 +0000
573     patch modify
575 diff --git a/def b/def
576 index 8baef1b..7d69c2f 100644
577 --- a/def
578 +++ b/def
579 @@ -1 +1,2 @@
580  abc
581 +asjhfksad
583 commit d4850419ccc1146c7169f500725ce504b9774ed0
584 Author: Author Name <author@email>
585 Date:   Mon Jan 1 00:00:00 2007 +0000
587     initial
588     
589     Signed-off-by: Commiter Name <commiter@email>
591 diff --git a/def b/def
592 new file mode 100644
593 index 0000000..8baef1b
594 --- /dev/null
595 +++ b/def
596 @@ -0,0 +1 @@
597 +abc
598 % guilt-pop
599 Now at add.
600 % list_files
601 d .git/patches
602 d .git/patches/master
603 d .git/refs/patches
604 d .git/refs/patches/master
605 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
606 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
607 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
608 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
609 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
610 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
611 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
612 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
613 % git-log -p
614 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
615 Author: Author Name <author@email>
616 Date:   Mon Jan 1 00:00:00 2007 +0000
618     patch add
620 diff --git a/abd b/abd
621 new file mode 100644
622 index 0000000..489450e
623 --- /dev/null
624 +++ b/abd
625 @@ -0,0 +1 @@
626 +qweert
628 commit 33633e7a1aa31972f125878baf7807be57b1672d
629 Author: Author Name <author@email>
630 Date:   Mon Jan 1 00:00:00 2007 +0000
632     patch modify
634 diff --git a/def b/def
635 index 8baef1b..7d69c2f 100644
636 --- a/def
637 +++ b/def
638 @@ -1 +1,2 @@
639  abc
640 +asjhfksad
642 commit d4850419ccc1146c7169f500725ce504b9774ed0
643 Author: Author Name <author@email>
644 Date:   Mon Jan 1 00:00:00 2007 +0000
646     initial
647     
648     Signed-off-by: Commiter Name <commiter@email>
650 diff --git a/def b/def
651 new file mode 100644
652 index 0000000..8baef1b
653 --- /dev/null
654 +++ b/def
655 @@ -0,0 +1 @@
656 +abc
657 % guilt-pop
658 Now at modify.
659 % list_files
660 d .git/patches
661 d .git/patches/master
662 d .git/refs/patches
663 d .git/refs/patches/master
664 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
665 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
666 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
667 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
668 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
669 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
670 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
671 % git-log -p
672 commit 33633e7a1aa31972f125878baf7807be57b1672d
673 Author: Author Name <author@email>
674 Date:   Mon Jan 1 00:00:00 2007 +0000
676     patch modify
678 diff --git a/def b/def
679 index 8baef1b..7d69c2f 100644
680 --- a/def
681 +++ b/def
682 @@ -1 +1,2 @@
683  abc
684 +asjhfksad
686 commit d4850419ccc1146c7169f500725ce504b9774ed0
687 Author: Author Name <author@email>
688 Date:   Mon Jan 1 00:00:00 2007 +0000
690     initial
691     
692     Signed-off-by: Commiter Name <commiter@email>
694 diff --git a/def b/def
695 new file mode 100644
696 index 0000000..8baef1b
697 --- /dev/null
698 +++ b/def
699 @@ -0,0 +1 @@
700 +abc
701 % guilt-pop
702 All patches popped.
703 % list_files
704 d .git/patches
705 d .git/patches/master
706 d .git/refs/patches
707 d .git/refs/patches/master
708 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
709 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
710 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
711 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
712 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
713 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
714 % git-log -p
715 commit d4850419ccc1146c7169f500725ce504b9774ed0
716 Author: Author Name <author@email>
717 Date:   Mon Jan 1 00:00:00 2007 +0000
719     initial
720     
721     Signed-off-by: Commiter Name <commiter@email>
723 diff --git a/def b/def
724 new file mode 100644
725 index 0000000..8baef1b
726 --- /dev/null
727 +++ b/def
728 @@ -0,0 +1 @@
729 +abc
730 % guilt-push --all
731 Applying patch..modify
732 Patch applied.
733 Applying patch..add
734 Patch applied.
735 Applying patch..remove
736 Patch applied.
737 Applying patch..mode
738 Patch applied.
739 % guilt-pop -n -2
740 Invalid number of patches to pop.
741 % list_files
742 d .git/patches
743 d .git/patches/master
744 d .git/refs/patches
745 d .git/refs/patches/master
746 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
747 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
748 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
749 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
750 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
751 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
752 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
753 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
754 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
755 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
756 % git-log -p
757 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
758 Author: Author Name <author@email>
759 Date:   Mon Jan 1 00:00:00 2007 +0000
761     patch mode
763 diff --git a/def b/def
764 old mode 100644
765 new mode 100755
767 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
768 Author: Author Name <author@email>
769 Date:   Mon Jan 1 00:00:00 2007 +0000
771     patch remove
773 diff --git a/abd b/abd
774 deleted file mode 100644
775 index 489450e..0000000
776 --- a/abd
777 +++ /dev/null
778 @@ -1 +0,0 @@
779 -qweert
781 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
782 Author: Author Name <author@email>
783 Date:   Mon Jan 1 00:00:00 2007 +0000
785     patch add
787 diff --git a/abd b/abd
788 new file mode 100644
789 index 0000000..489450e
790 --- /dev/null
791 +++ b/abd
792 @@ -0,0 +1 @@
793 +qweert
795 commit 33633e7a1aa31972f125878baf7807be57b1672d
796 Author: Author Name <author@email>
797 Date:   Mon Jan 1 00:00:00 2007 +0000
799     patch modify
801 diff --git a/def b/def
802 index 8baef1b..7d69c2f 100644
803 --- a/def
804 +++ b/def
805 @@ -1 +1,2 @@
806  abc
807 +asjhfksad
809 commit d4850419ccc1146c7169f500725ce504b9774ed0
810 Author: Author Name <author@email>
811 Date:   Mon Jan 1 00:00:00 2007 +0000
813     initial
814     
815     Signed-off-by: Commiter Name <commiter@email>
817 diff --git a/def b/def
818 new file mode 100644
819 index 0000000..8baef1b
820 --- /dev/null
821 +++ b/def
822 @@ -0,0 +1 @@
823 +abc
824 % guilt-push --all
825 % guilt-pop -n -1
826 Invalid number of patches to pop.
827 % list_files
828 d .git/patches
829 d .git/patches/master
830 d .git/refs/patches
831 d .git/refs/patches/master
832 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
833 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
834 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
835 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
836 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
837 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
838 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
839 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
840 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
841 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
842 % git-log -p
843 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
844 Author: Author Name <author@email>
845 Date:   Mon Jan 1 00:00:00 2007 +0000
847     patch mode
849 diff --git a/def b/def
850 old mode 100644
851 new mode 100755
853 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
854 Author: Author Name <author@email>
855 Date:   Mon Jan 1 00:00:00 2007 +0000
857     patch remove
859 diff --git a/abd b/abd
860 deleted file mode 100644
861 index 489450e..0000000
862 --- a/abd
863 +++ /dev/null
864 @@ -1 +0,0 @@
865 -qweert
867 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
868 Author: Author Name <author@email>
869 Date:   Mon Jan 1 00:00:00 2007 +0000
871     patch add
873 diff --git a/abd b/abd
874 new file mode 100644
875 index 0000000..489450e
876 --- /dev/null
877 +++ b/abd
878 @@ -0,0 +1 @@
879 +qweert
881 commit 33633e7a1aa31972f125878baf7807be57b1672d
882 Author: Author Name <author@email>
883 Date:   Mon Jan 1 00:00:00 2007 +0000
885     patch modify
887 diff --git a/def b/def
888 index 8baef1b..7d69c2f 100644
889 --- a/def
890 +++ b/def
891 @@ -1 +1,2 @@
892  abc
893 +asjhfksad
895 commit d4850419ccc1146c7169f500725ce504b9774ed0
896 Author: Author Name <author@email>
897 Date:   Mon Jan 1 00:00:00 2007 +0000
899     initial
900     
901     Signed-off-by: Commiter Name <commiter@email>
903 diff --git a/def b/def
904 new file mode 100644
905 index 0000000..8baef1b
906 --- /dev/null
907 +++ b/def
908 @@ -0,0 +1 @@
909 +abc
910 % guilt-push --all
911 % guilt-pop -n 0
912 No patches requested to be removed.
913 % list_files
914 d .git/patches
915 d .git/patches/master
916 d .git/refs/patches
917 d .git/refs/patches/master
918 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
919 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
920 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
921 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
922 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
923 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
924 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
925 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
926 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
927 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
928 % git-log -p
929 commit 632ca0f5ec27a961990b45673dfc751f1da830f3
930 Author: Author Name <author@email>
931 Date:   Mon Jan 1 00:00:00 2007 +0000
933     patch mode
935 diff --git a/def b/def
936 old mode 100644
937 new mode 100755
939 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
940 Author: Author Name <author@email>
941 Date:   Mon Jan 1 00:00:00 2007 +0000
943     patch remove
945 diff --git a/abd b/abd
946 deleted file mode 100644
947 index 489450e..0000000
948 --- a/abd
949 +++ /dev/null
950 @@ -1 +0,0 @@
951 -qweert
953 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
954 Author: Author Name <author@email>
955 Date:   Mon Jan 1 00:00:00 2007 +0000
957     patch add
959 diff --git a/abd b/abd
960 new file mode 100644
961 index 0000000..489450e
962 --- /dev/null
963 +++ b/abd
964 @@ -0,0 +1 @@
965 +qweert
967 commit 33633e7a1aa31972f125878baf7807be57b1672d
968 Author: Author Name <author@email>
969 Date:   Mon Jan 1 00:00:00 2007 +0000
971     patch modify
973 diff --git a/def b/def
974 index 8baef1b..7d69c2f 100644
975 --- a/def
976 +++ b/def
977 @@ -1 +1,2 @@
978  abc
979 +asjhfksad
981 commit d4850419ccc1146c7169f500725ce504b9774ed0
982 Author: Author Name <author@email>
983 Date:   Mon Jan 1 00:00:00 2007 +0000
985     initial
986     
987     Signed-off-by: Commiter Name <commiter@email>
989 diff --git a/def b/def
990 new file mode 100644
991 index 0000000..8baef1b
992 --- /dev/null
993 +++ b/def
994 @@ -0,0 +1 @@
995 +abc
996 % guilt-push --all
997 % guilt-pop -n 1
998 Now at remove.
999 % list_files
1000 d .git/patches
1001 d .git/patches/master
1002 d .git/refs/patches
1003 d .git/refs/patches/master
1004 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1005 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1006 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1007 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1008 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1009 f f322f08d907e3737a4321b0ec90bc545f71af7cf  .git/patches/master/status
1010 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
1011 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
1012 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove
1013 % git-log -p
1014 commit e67345cf1e7e9594c73efad7381a994f1fe63b14
1015 Author: Author Name <author@email>
1016 Date:   Mon Jan 1 00:00:00 2007 +0000
1018     patch remove
1020 diff --git a/abd b/abd
1021 deleted file mode 100644
1022 index 489450e..0000000
1023 --- a/abd
1024 +++ /dev/null
1025 @@ -1 +0,0 @@
1026 -qweert
1028 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
1029 Author: Author Name <author@email>
1030 Date:   Mon Jan 1 00:00:00 2007 +0000
1032     patch add
1034 diff --git a/abd b/abd
1035 new file mode 100644
1036 index 0000000..489450e
1037 --- /dev/null
1038 +++ b/abd
1039 @@ -0,0 +1 @@
1040 +qweert
1042 commit 33633e7a1aa31972f125878baf7807be57b1672d
1043 Author: Author Name <author@email>
1044 Date:   Mon Jan 1 00:00:00 2007 +0000
1046     patch modify
1048 diff --git a/def b/def
1049 index 8baef1b..7d69c2f 100644
1050 --- a/def
1051 +++ b/def
1052 @@ -1 +1,2 @@
1053  abc
1054 +asjhfksad
1056 commit d4850419ccc1146c7169f500725ce504b9774ed0
1057 Author: Author Name <author@email>
1058 Date:   Mon Jan 1 00:00:00 2007 +0000
1060     initial
1061     
1062     Signed-off-by: Commiter Name <commiter@email>
1064 diff --git a/def b/def
1065 new file mode 100644
1066 index 0000000..8baef1b
1067 --- /dev/null
1068 +++ b/def
1069 @@ -0,0 +1 @@
1070 +abc
1071 % guilt-push --all
1072 Applying patch..mode
1073 Patch applied.
1074 % guilt-pop -n 2
1075 Now at add.
1076 % list_files
1077 d .git/patches
1078 d .git/patches/master
1079 d .git/refs/patches
1080 d .git/refs/patches/master
1081 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1082 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1083 f 6e9645b29c7233ecdf1494834e83c67a37464548  .git/patches/master/status
1084 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1085 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1086 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1087 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
1088 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
1089 % git-log -p
1090 commit 68f33a015dcfd09c3896f15d152378b54eaa4eb6
1091 Author: Author Name <author@email>
1092 Date:   Mon Jan 1 00:00:00 2007 +0000
1094     patch add
1096 diff --git a/abd b/abd
1097 new file mode 100644
1098 index 0000000..489450e
1099 --- /dev/null
1100 +++ b/abd
1101 @@ -0,0 +1 @@
1102 +qweert
1104 commit 33633e7a1aa31972f125878baf7807be57b1672d
1105 Author: Author Name <author@email>
1106 Date:   Mon Jan 1 00:00:00 2007 +0000
1108     patch modify
1110 diff --git a/def b/def
1111 index 8baef1b..7d69c2f 100644
1112 --- a/def
1113 +++ b/def
1114 @@ -1 +1,2 @@
1115  abc
1116 +asjhfksad
1118 commit d4850419ccc1146c7169f500725ce504b9774ed0
1119 Author: Author Name <author@email>
1120 Date:   Mon Jan 1 00:00:00 2007 +0000
1122     initial
1123     
1124     Signed-off-by: Commiter Name <commiter@email>
1126 diff --git a/def b/def
1127 new file mode 100644
1128 index 0000000..8baef1b
1129 --- /dev/null
1130 +++ b/def
1131 @@ -0,0 +1 @@
1132 +abc
1133 % guilt-push --all
1134 Applying patch..remove
1135 Patch applied.
1136 Applying patch..mode
1137 Patch applied.
1138 % guilt-pop -n 3
1139 Now at modify.
1140 % list_files
1141 d .git/patches
1142 d .git/patches/master
1143 d .git/refs/patches
1144 d .git/refs/patches/master
1145 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1146 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1147 f 7b80669540a0ba5ec6098f50bb7923921278e85a  .git/patches/master/status
1148 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1149 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1150 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1151 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
1152 % git-log -p
1153 commit 33633e7a1aa31972f125878baf7807be57b1672d
1154 Author: Author Name <author@email>
1155 Date:   Mon Jan 1 00:00:00 2007 +0000
1157     patch modify
1159 diff --git a/def b/def
1160 index 8baef1b..7d69c2f 100644
1161 --- a/def
1162 +++ b/def
1163 @@ -1 +1,2 @@
1164  abc
1165 +asjhfksad
1167 commit d4850419ccc1146c7169f500725ce504b9774ed0
1168 Author: Author Name <author@email>
1169 Date:   Mon Jan 1 00:00:00 2007 +0000
1171     initial
1172     
1173     Signed-off-by: Commiter Name <commiter@email>
1175 diff --git a/def b/def
1176 new file mode 100644
1177 index 0000000..8baef1b
1178 --- /dev/null
1179 +++ b/def
1180 @@ -0,0 +1 @@
1181 +abc
1182 % guilt-push --all
1183 Applying patch..add
1184 Patch applied.
1185 Applying patch..remove
1186 Patch applied.
1187 Applying patch..mode
1188 Patch applied.
1189 % guilt-pop -n 4
1190 All patches popped.
1191 % list_files
1192 d .git/patches
1193 d .git/patches/master
1194 d .git/refs/patches
1195 d .git/refs/patches/master
1196 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1197 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1198 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1199 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1200 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1201 f da39a3ee5e6b4b0d3255bfef95601890afd80709  .git/patches/master/status
1202 % git-log -p
1203 commit d4850419ccc1146c7169f500725ce504b9774ed0
1204 Author: Author Name <author@email>
1205 Date:   Mon Jan 1 00:00:00 2007 +0000
1207     initial
1208     
1209     Signed-off-by: Commiter Name <commiter@email>
1211 diff --git a/def b/def
1212 new file mode 100644
1213 index 0000000..8baef1b
1214 --- /dev/null
1215 +++ b/def
1216 @@ -0,0 +1 @@
1217 +abc
1218 % guilt-push --all
1219 Applying patch..modify
1220 Patch applied.
1221 Applying patch..add
1222 Patch applied.
1223 Applying patch..remove
1224 Patch applied.
1225 Applying patch..mode
1226 Patch applied.
1227 % list_files
1228 d .git/patches
1229 d .git/patches/master
1230 d .git/refs/patches
1231 d .git/refs/patches/master
1232 f 22930c6d1f1938f298a4fca51c57e4b47171db21  .git/patches/master/mode
1233 f 5d8322e2edfca0589cc24df9c09985a544591a2c  .git/patches/master/add
1234 f 71596bf71b72c2717e1aee378aabefbfa19ab7c8  .git/patches/master/status
1235 f 8bdf2abdb045e63bb877890db12afcd5a2f023eb  .git/patches/master/remove
1236 f bacb4aad8a55fe4e7aa58a9ae169990bb764069f  .git/patches/master/series
1237 f bc9ab2e0f5db99d483961e956e814d963f0309f8  .git/patches/master/modify
1238 r 33633e7a1aa31972f125878baf7807be57b1672d  .git/refs/patches/master/modify
1239 r 632ca0f5ec27a961990b45673dfc751f1da830f3  .git/refs/patches/master/mode
1240 r 68f33a015dcfd09c3896f15d152378b54eaa4eb6  .git/refs/patches/master/add
1241 r e67345cf1e7e9594c73efad7381a994f1fe63b14  .git/refs/patches/master/remove