Re: Develop a patch series with git?
- From
Shourya Shukla <shouryashukla.oo@gmail.com>
- Date
- Feb 11, 2020, 13:40 UTC
- Message-ID
- <20200211134022.7975-1-shouryashukla.oo@gmail.com>
- In-Reply-To
- <trinity-f39d7ed5-e4c9-45fe-944c-b5cb101cfdcd-1581412940557@3c-app-gmx-bap62>
Hello Steve,
> My question is whether there is git functionality to replace quilt. > Or is the combination of quilt and git common?
I think we can use interactive rebase[1] as well as 'git am'[2] (am = apply mail) to apply a series of patches from a mailbox.
In the case of, let's say a dependency missing on your end, you can do an interactive rebase using 'git rebase -i' to edit your _mini-commits_ which you will be making on applying the patches to include the dependencies. One can also 'squash' commits together(i.e. meld multiple commits into one) in case you want a smaller commit history or you think there is a redundancy in any of your commits.
BTW, I think that 'git quiltimport' is quite old now right? And maybe even obsolete?
Best, Shourya Shukla
[1]: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History [2]: https://git-scm.com/docs/git-am