public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* Creating and sending patch without git (Sending As plain text)
@ 2013-07-23 19:53 Kumar Gaurav
  2013-07-23 20:03 ` Julia Lawall
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kumar Gaurav @ 2013-07-23 19:53 UTC (permalink / raw)
  To: kernel-janitors

Hi Dan,


I have fixed several bugs in a program in staging and now want to send 
it to

you before sending to maintainers. But currently i don't have git clone of

current kernel. I had downloaded full tarball of 3.11-rc1 version.


So please tell me if there's a way to formate a mail and create a path 
for the

fix that i did. So that you can review my code.


Curently i'm cloning kernel using git but it seems like it'll take 
forever as

i dnt have very fast Internet connection speed and it seems to download 
around

1200MB of data from last 2hr i've completed with just 5%. So let me know if

there's way w/o git.


Regards

Kumar Gaurav


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Creating and sending patch without git (Sending As plain text)
  2013-07-23 19:53 Creating and sending patch without git (Sending As plain text) Kumar Gaurav
@ 2013-07-23 20:03 ` Julia Lawall
  2013-07-25 11:45 ` Peter Senna Tschudin
  2013-07-29  8:28 ` Nicolas Palix
  2 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2013-07-23 20:03 UTC (permalink / raw)
  To: kernel-janitors

On Wed, 24 Jul 2013, Kumar Gaurav wrote:

> Hi Dan,
> 
> 
> I have fixed several bugs in a program in staging and now want to send it to
> 
> you before sending to maintainers. But currently i don't have git clone of
> 
> current kernel. I had downloaded full tarball of 3.11-rc1 version.
> 
> 
> So please tell me if there's a way to formate a mail and create a path for the
> 
> fix that i did. So that you can review my code.

You can read Documentation/SubmittingPatches, compare your results to what 
you see on mailing lists, and send your patch to yourself and be sure that 
you can save your message as is and apply it.

julia

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Creating and sending patch without git (Sending As plain text)
  2013-07-23 19:53 Creating and sending patch without git (Sending As plain text) Kumar Gaurav
  2013-07-23 20:03 ` Julia Lawall
@ 2013-07-25 11:45 ` Peter Senna Tschudin
  2013-07-29  8:28 ` Nicolas Palix
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Senna Tschudin @ 2013-07-25 11:45 UTC (permalink / raw)
  To: kernel-janitors

On Tue, Jul 23, 2013 at 9:52 PM, Kumar Gaurav
<kumargauravgupta3@gmail.com> wrote:
> Hi Dan,
>
>
> I have fixed several bugs in a program in staging and now want to send it to
>
> you before sending to maintainers. But currently i don't have git clone of
>
> current kernel. I had downloaded full tarball of 3.11-rc1 version.
>
>
> So please tell me if there's a way to formate a mail and create a path for
> the
>
> fix that i did. So that you can review my code.
>
>
> Curently i'm cloning kernel using git but it seems like it'll take forever
> as
>
> i dnt have very fast Internet connection speed and it seems to download
> around
>
> 1200MB of data from last 2hr i've completed with just 5%. So let me know if
>
> there's way w/o git.
You can create a git repository from the source code you've
downloaded. See the steps:

$ wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.2.tar.bz2
$ tar xvjf linux-3.10.2.tar.bz2
$ cd linux-3.10.2/
$ git init
$ git add *
$ git commit -m 'initial commit'

It is important to do the git commands 'before' doing any change to
the source code. After creating the git repository, all git commands
should work.

>
>
> Regards
>
> Kumar Gaurav
>
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Creating and sending patch without git (Sending As plain text)
  2013-07-23 19:53 Creating and sending patch without git (Sending As plain text) Kumar Gaurav
  2013-07-23 20:03 ` Julia Lawall
  2013-07-25 11:45 ` Peter Senna Tschudin
@ 2013-07-29  8:28 ` Nicolas Palix
  2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Palix @ 2013-07-29  8:28 UTC (permalink / raw)
  To: kernel-janitors

Hi all,

Kumar, I think you should check the --depth option of git clone if
you're only interested in
sending patches.

--depth <depth>

Create a shallow clone with a history truncated to the specified
number of revisions. A shallow repository has a number of limitations
(you cannot clone or fetch from it, nor push from nor into it), but is
adequate if you are only interested in the recent history of a large
project with a long history, and would want to send in fixes as
patches.

Regards.


On Thu, Jul 25, 2013 at 1:45 PM, Peter Senna Tschudin
<peter.senna@gmail.com> wrote:
> On Tue, Jul 23, 2013 at 9:52 PM, Kumar Gaurav
> <kumargauravgupta3@gmail.com> wrote:
>> Hi Dan,
>>
>>
>> I have fixed several bugs in a program in staging and now want to send it to
>>
>> you before sending to maintainers. But currently i don't have git clone of
>>
>> current kernel. I had downloaded full tarball of 3.11-rc1 version.
>>
>>
>> So please tell me if there's a way to formate a mail and create a path for
>> the
>>
>> fix that i did. So that you can review my code.
>>
>>
>> Curently i'm cloning kernel using git but it seems like it'll take forever
>> as
>>
>> i dnt have very fast Internet connection speed and it seems to download
>> around
>>
>> 1200MB of data from last 2hr i've completed with just 5%. So let me know if
>>
>> there's way w/o git.
> You can create a git repository from the source code you've
> downloaded. See the steps:
>
> $ wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.2.tar.bz2
> $ tar xvjf linux-3.10.2.tar.bz2
> $ cd linux-3.10.2/
> $ git init
> $ git add *
> $ git commit -m 'initial commit'
>
> It is important to do the git commands 'before' doing any change to
> the source code. After creating the git repository, all git commands
> should work.
>
>>
>>
>> Regards
>>
>> Kumar Gaurav
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kernel-janitors"
>> in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Peter
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Nicolas Palix
Tel: +33 4 76 51 46 27
http://membres-liglab.imag.fr/palix/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-29  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 19:53 Creating and sending patch without git (Sending As plain text) Kumar Gaurav
2013-07-23 20:03 ` Julia Lawall
2013-07-25 11:45 ` Peter Senna Tschudin
2013-07-29  8:28 ` Nicolas Palix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox