I have a shallow clone, on which i made three commits.
Here is the log:
$ git log --oneline --graph --decorate --all
* d3456fd (HEAD, maste
Note that one rationale for having to ignore whitespace was (June 2010):
What it does is enable the
GMail -> download -> git-am workflow
.
GMail (and doubtless countless other) E-Mail providers introduce whitespace at the beginning of raw E-Mail messages, while otherwise leaving them intact.
As mentioned in "git am/format-patch: control format of line endings", you can try a:
git am --keep-cr
That wouldn't require you to ignore whitespace (warning only).
The OP maxmelbin confirms in the comments that the following works:
git am -3 --keep-cr --committer-date-is-author-date /c/temp/git/format_since_origin.patch