On 2011-07-14 at 04:36:19 +0200, Kevin McKinney <[email protected]> wrote:
> Hi Kernel developers.
> 
> Please forgive me for bothering you with such trivial matters.  My
> name is Kevin McKinney and I am an aspiring kernel developer trying to
> submit my first patch. However, I am unable to commit my changes to
> git. Can someone give me a little guidance on submitting my patch?  I
> am following the article on
> http://www.tuxradar.com/content/newbies-guide-hacking-linux-kernel.
> The problem I am having is when I enter my comments, save, and exit
> nano (my text editor), I receive a message that says my commit has
> aborted because of empty comments. But I have indeed entered comments.
> Any help would be appreciated.  Can someone tell me what I am doing
> wrong?
> 
> # Staging: echo.c: Clean up code in echo.c driver based on checkpatch.pl
> # Fix 6 warnings to export symbols under its function definition
> # Fix 2 errors need consistent spacing around '*'
> #
> # Signed-off-by: Kevin L. McKinney <[email protected]>

If you're putting a '#' in front of a line in your commit message, git
will treat it as a comment and it will not be considered part of your
commit.

HTH
Tobias
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to