Commit 0284046
format-patch: removing unconditional wrapping
Using format-patch with --commit-list-format different than shortlog,
causes the commit entry lines to wrap if they get longer than
MAIL_DEFAULT_WRAP (72 characters).
While this might be sensible for many when sending changes through
email, it forces this decision of wrapping on the user, reducing the
control granularity of --commit-list-format.
Teach generate_commit_list_cover() to respect commit entry line lengths
and place this wrapping rule on the "modern" preset format instead.
Signed-off-by: Mirko Faina <mroik@delayed.space>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent acee42d commit 0284046
2 files changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | | - | |
1369 | 1368 | | |
1370 | 1369 | | |
1371 | 1370 | | |
| |||
1375 | 1374 | | |
1376 | 1375 | | |
1377 | 1376 | | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
| 1377 | + | |
1381 | 1378 | | |
1382 | | - | |
1383 | 1379 | | |
1384 | 1380 | | |
1385 | 1381 | | |
1386 | 1382 | | |
1387 | | - | |
1388 | 1383 | | |
1389 | 1384 | | |
1390 | 1385 | | |
| |||
1446 | 1441 | | |
1447 | 1442 | | |
1448 | 1443 | | |
1449 | | - | |
| 1444 | + | |
1450 | 1445 | | |
1451 | 1446 | | |
1452 | 1447 | | |
| |||
0 commit comments