Query on git usage for creating patch with incremental commits

2014-12-12 Thread Kumar Amit Mehta
Hi, I know that it's not a typical Linux kernel related query but I reckon that people involved in Linux kernel testing/development might have gotten into similar situation. So, please bear with me for this rather generic framework related query. The scenario: 1: Cloned linux-next at time T1 $

Re: Query on git usage for creating patch with incremental commits

2014-12-12 Thread Mandeep Sandhu
As others have pointed out, you need 'git rebase' here. With an interactive rebase, you can cherry-pick what you want to do with each commit (keep, edit, squash etc). It can also help you apply your changes to a different branch (using the '-- onto' option). HTH, -mandeep On Fri, Dec 12, 2014

Re: Query on git usage for creating patch with incremental commits

2014-12-12 Thread Kumar Amit Mehta
On Fri, Dec 12, 2014 at 08:19:35AM -0800, Mandeep Sandhu wrote: As others have pointed out, you need 'git rebase' here. With an interactive rebase, you can cherry-pick what you want to do with each commit (keep, edit, squash etc). It can also help you apply your changes to a different branch

Re: Query on git usage for creating patch with incremental commits

2014-12-12 Thread Manuel Mendez
git rebase -i master on development is your friend. On Fri Dec 12 2014 at 9:59:27 AM Kumar Amit Mehta gmate.a...@gmail.com wrote: Hi, I know that it's not a typical Linux kernel related query but I reckon that people involved in Linux kernel testing/development might have gotten into

How to send the [PATCH 0/x] kind of emails?

2014-12-12 Thread Mandeep Sandhu
How does one send this kind of summary email? Is it generated manually or through some git format-patch/send-email foo magic? I have 4 patches that I have to submit. I'd like to send a summary email (0/4) explaining the changes. Thanks, -mandeep ___

Re: How to send the [PATCH 0/x] kind of emails?

2014-12-12 Thread Greg KH
On Fri, Dec 12, 2014 at 02:05:50PM -0800, Mandeep Sandhu wrote: How does one send this kind of summary email? Is it generated manually or through some git format-patch/send-email foo magic? I have 4 patches that I have to submit. I'd like to send a summary email (0/4) explaining the changes.

Re: How to send the [PATCH 0/x] kind of emails?

2014-12-12 Thread Mandeep Sandhu
Thanks Greg! One more thing. Should the 'Tested-by:' tag be added in every commit manually, or only one of them is enough (the last patch really implements the functionality and the rest are 'preparatory' commits)? -mandeep On Fri, Dec 12, 2014 at 2:27 PM, Greg KH g...@kroah.com wrote: On

Re: Query about /proc/meminfo

2014-12-12 Thread Arshad Hussain
On 10-Dec-2014, at 10:18 pm, PRAJAPATI MEHUL mehulprajapati2...@gmail.com wrote: Hi, -I am currently working on one embedded development board. -I have ported 3.0.31 kernel with my personal patches on it. -When I am trying to insert my module, it fails to allocate 4MB memory using

Re: How to send the [PATCH 0/x] kind of emails?

2014-12-12 Thread Greg KH
On Fri, Dec 12, 2014 at 02:29:22PM -0800, Mandeep Sandhu wrote: Thanks Greg! One more thing. Should the 'Tested-by:' tag be added in every commit manually, or only one of them is enough (the last patch really implements the functionality and the rest are 'preparatory' commits)? Tested-by is

Re: Fwd: Query about /proc/meminfo

2014-12-12 Thread Pranay Srivastava
On 13-Dec-2014 2:27 AM, PRAJAPATI MEHUL mehulprajapati2...@gmail.com wrote: Hi, -I am currently working on one embedded development board. -I have ported 3.0.31 kernel with my personal patches on it. -When I am trying to insert my module, it fails to allocate 4MB memory using kmalloc.