Skip to content

Conversation

@DrDub
Copy link

@DrDub DrDub commented Dec 24, 2013

Hi,

We discussed there might be some value on having your changes as a patch file, here it is.

The first import (commit 3a68b4d) refers to the files
as "Pristine OpenSSH 5.2 portable sources". Assuming that is correct, I checked out a second
copy of the repo to that particular commit and then did a

diff -Naur /path/to/pristine /path/to/obfuscated > obfuscated-openssh.patch

(the .git folders need to be moved away for this to work)

The output is 1,211 lines long.

Another command I considered was

git format-patch -12 HEAD --stdout

which produces a nice file, too, but each commit is applied in order (and the file is 1,630 lines long).

Hopefully this can help update this patch to a more recent version of OpenSSH.

Thanks for making your patches available!

The first import (commit 3a68b4d) refers to the files
as "Pristine OpenSSH 5.2 portable sources". Assuming that is correct, I checked out a second
copy of the repo to that particular commit and then did a

diff -Naur /path/to/pristine /path/to/obfuscated > obfuscated-openssh.patch

(the .git folders need to be moved away for this to work)

The output is 1,211 lines long.

Another command I considered was

git format-patch -12 HEAD --stdout

which produces a nice file, too, but each commit is applied in order (and the file is 1,630 lines long).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants