Re: Git create patch series for multipe commits.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Sep 2014 10:35:57 -0700, Anand Moon said:

> One more question, if the change belong to single file
> and we are fixing multiple issue we need to different commit
> for each changes. And then club them into patch series.

Each patch should do exactly one thing. So if you find 3 different issues that
need fixing in foo.c, that should result in 3 commits and 3 patches.  Those 3
may or may not be related enough to require a patch series (where all the
patches should be related).  However, there's a special case where the commits
are close enough together to cause conflicts and/or bisection issues if applied
in the wrong order.  Those should be in a series so they get applied in order
and avoid the conflict/bisection issue.

Hope that helps...

Attachment: pgpkQnNYM9M2n.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux