Check new_lines value to validate patch

Looks like lib2git includes the optional/conditional 'No newline at
end of file' line within the lines collection of the hunk, which could
throw off the new line count.  So rather than that, try checking the
new_lines value to make sure that is 1.

One can see how this scenario is causing the test to fail with the
following patches


Allow Unicode curly quote in stage 1 message

For those of us who created their file in a text editor which magically
uses Unicode quotes in prose.
1d3eecfe — Merlin Büge 1 year, 6 days ago
Add example of how to cache the smtp password
Pin builds to Alpine 3.10
b4ba4ed0 — Robert Vollmert 1 year, 4 months ago
Remark on possibly missing SSL modules on macos.

As far as I can tell, the Developer Tools-bundled git/perl generally
is missing these modules. I believe that command worked for me, but
it would be good to verify on a fresh system.
Document smtpserveroption in Configuration

Signed-off-by: Matt Critchlow <matt@critchlow.xyz>
Fix typo: comprhensive -> comprehensive
Add link to git-rebase.io
Use short sha hash in step 5

On small screens(e.g. 320px) long hash breaks layout
57d1e2d2 — Nolan Prescott 1 year, 6 months ago
Update OpenBSD requirements

Upon installing git under OpenBSD 6.4 the following is reported via

git send-email
To make it work with SSL/TLS and SMTP auth you have to install
the following additional packages.

Fix typo in local SMTP client instructions
Revise global git configuration file mentions

Turns out there's multiple places the global configuration file can be

- Removed mentions of `~/.git/config`
- Added alert with command to open global git config in default editor
in Step 2.
ddfee8b8 — Nedzad Hrnjica 1 year, 6 months ago
Display page properly when viewing from mobile.
Add Solus install instructions and logo
9fe675f0 — Paco Esteban 1 year, 6 months ago
OpenBSD needs p5-Authen-SASL.

I tried to make it a dependency of devel/git but it was never aproved.
See here: https://marc.info/?l=openbsd-ports&m=154256030810194&w=2
765abf03 — Francis Dinh 1 year, 6 months ago
Optimize images
f61ec330 — Ricardo Wurmus 1 year, 6 months ago
Add Guix instructions and logo.

* static/guix.png: New file.
* index.html: Add section and radio input for os-guix.
* index.css: Add rules for os-guix:checked.
Remove --in-reply-to recommendations
19120195 — Karol Kosek 1 year, 6 months ago
Wrap <pre> tags
Generalize instructions for local SMTP clients

Signed-off-by: Brian Clemens <brian@tiuxo.com>
Modify css to work better on small screens

On small screens (ie. less than 710px wide), the text currently displays
in front of the background image. This commit changes it so that the
white container div has a minimum width of 708px, keeping it in front
of the background on these smaller screens. It should have no inpact on
wider screens. Ideally, we would have the minimum width instead be
'min-content', but that is not supported by Microsoft Edge and according
to MDN it is "an experimental API that should not be used in production

The only downside is that on steps other than the first one, it would be
okay for screen widths between 616px and 710px, but this seems
outweighed by the value of having the first step look good. A solution
for this scenario would be to have the Arch Linux installation command
broken on to two lines.