Commit afc3319
committed
test: catch squash author comparison issue
There is a bug in squash where author comparison uses the entire author
signature, including the author time, to determine whether all the
commits being squashed are by the same author.
The test case for this behavior creates patches fast enough that they
all share the same author time. Add artifical author times to the test
patches to trigger the bug.1 parent f06ff66 commit afc3319
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments