Lines Matching +full:utf +full:- +full:8

1 # -*- coding: utf-8 -*-
5 # SPDX-License-Identifier: GPL-2.0+
54 fname = re.sub('[ :]', '-', subject)
55 return fname.replace('--', '-')
62 src_fname = '%04d-%s.patch' % (i + 1, clean_subject[:52])
67 src_fname = '0000-cover-letter.patch'
77 This creates a series from some hard-coded patches build from a simple
80 Series-to: u-boot
81 Series-prefix: RFC
82 Series-cc: Stefan Brüns <stefan.bruens@rwth-aachen.de>
83 Cover-letter-cc: Lord Mëlchett <clergy@palace.gov>
84 Series-version: 2
85 Series-changes: 4
86 - Some changes
88 Cover-letter:
97 Series-notes:
103 Commit-notes:
110 git log -n2 --reverse >/path/to/tools/patman/test/test01.txt
111 git format-patch --subject-prefix RFC --cover-letter HEAD~2
115 - git log can be processed by patchstream
116 - emailing patches uses the correct command
117 - CC file has information on each commit
118 - cover letter has the expected text and subject
119 - each patch has the correct subject
120 - dry-run information prints out correctly
121 - unicode is handled correctly
122 - Series-to, Series-cc, Series-prefix, Cover-letter
123 - Cover-letter-cc, Series-version, Series-changes, Series-notes
124 - Commit-notes
128 stefan = u'Stefan Brüns <stefan.bruens@rwth-aachen.de>'
139 'u-boot': ['u-boot@lists.denx.de'],
170 line = 8
176 self.assertEqual('To: u-boot@lists.denx.de', lines[line])
177 self.assertEqual('Cc: %s' % stefan.encode('utf-8'), lines[line + 1])
182 self.assertEqual(' Cc: %s' % mel.encode('utf-8'), lines[line + 0])
185 self.assertEqual(' Cc: %s' % ed.encode('utf-8'), lines[line + 3])
186 expected = ('Git command: git send-email --annotate '
187 '--in-reply-to="%s" --to "u-boot@lists.denx.de" '
188 '--cc "%s" --cc-cmd "%s --cc-cmd %s" %s %s'
190 ' '.join(args))).encode('utf-8')
195 .encode('utf-8'), cc_lines[0])
197 ed)).encode('utf-8'), cc_lines[1])
209 - Some changes
215 cmd/pci.c | 3 ++-
218 lib/fdtdec.c | 3 ++-
219 4 files changed, 6 insertions(+), 2 deletions(-)
221 --\x20
240 self.assertEqual('---', lines[17])