git apply/am whitespace errors
- From
- neubyr <neubyr@gmail.com>
- Date
- Sep 26, 2011, 19:03 UTC
- Message-ID
- <CALFxCvxxbsgZnhqK9nN7h=1ASJzfDJ7aVF+rM-8RUyKhpv8FzQ@mail.gmail.com>
I am getting following error while applying a patch using git-apply.
{{{ /tmp/patches/ticket11/0002-Commit-for-ticket-11.patch:51: new blank line at EOF. }}}
What does number '51' after colon ':' indicate? There aren't 51 lines in that patch file. Also, I had used check and stat options before applying match and it didn't indicate any warnings/errors. I tried git am interactive and it gave following error:
{{{
Applying: Commit for [ticket:11]. Created a directory to download lens
files and added .include_in_git empty hidden file.
/tmp/galaxy/.git/rebase-apply/patch:10: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Commit Body is:
}}}I am trying to add a directory with a hidden empty file. Any elaboration on above warning/error messages will be really helpful.
-- thanks, neuby.r