lkml.org 
[lkml]   [2010]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] mct_u232: IOCTL implementation
On Sun, 26 Dec 2010, Tsozik wrote:

> Randy,
>
> Greg referred to git as to place where change log comments are now
> checked in. I googled it and found that one can also check out latest
> kernel source code as opposed to tarball download. However, You're
> right, looking at
> http://kernelnewbies.org/UpstreamMerge/SubmittingPatches documentation I
> don't see how one can use git to check in comments or code directly to
> git repository,
>

Only Linus can check code into the final official tree. But, you can use
git to get a copy of the latest Linus tree (and many other trees run by
various maintainers and others). Git is also useful for maintaining your
own local branch with your changes.

The way it usually works is that you create a patch and send it off to
some sub-system maintainer via email patch ('git diff' generated usually)
or via email pull request for your personal repository. The sub-system
maintainer then merges your patch with his tree and, at a later date,
submits his tree (including your patch) to Linus.

Changelog comments are tracked with git. Once your patch is accepted it
will eventually make its way to Linus' tree and your changelog comments in
the patch mail (or git commit message - if you send a pull request) will
eventually turn into a git commit message in the official tree. So there's
no need to add changelog info in the files themselves.
Check http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=shortlog
(or git log after cloning the tree) to see commit messages.


--
Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.



\
 
 \ /
  Last update: 2010-12-26 23:15    [W:0.042 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site