David <wizzardx@gmail.com> writes:For this I think it would be best to use some kind of patch management interface on top of Git, be it StGIT or Guilt (interface of the latter is based on Mercurial Queues, hence former name Git Queues (gq)), see http://git.or.cz/gitwiki/InterfacesFrontendsAndTools (there was also Patchy Git (pg) tool, but it is no longer maintained). I personally use StGIT, therefore all examples will use this tool. Then you would be able to go back and forth between patches (commits), correct them, with some difficulty even split or join them. Now the workflow depends if you are third-party contributor, sending patches upstream via email, or if you are project maintainer, and others pull from you. If you are third-party contributor, sending patches upstream via email,using "stg mail" or "git format-patch" plus either "git send-email", or your favorite mail program, you would do the following, on your topic branch: 1. edit, going back and forth between patches 2. "stg mail" patches to maintainer 3. incorporate feedback, going to 1. if necessary 4. fetch from upstream (I use "git fetch"/"git remote update") 5. rebase your patches ("stg rebase <upstream>") 6. remove applied patches (which should be empty) from stack, using "stg clean -a"; remove patches by hand if necessary ("stg remove <patchname>"). If you are maintainer / main contributor your workflow would be a bit different. Instead of emailing patches you would probably "stg commit" them, turning them into ordinary commits (removing from patch queue) when you finish working on them, then probably merge (parts of) feature branch into one of stable branches ('maint', 'master', 'next',...). HTH. -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 006/196] Chinese: add translation of oops-tracing.txt |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Borislav Petkov | 2.6.23-rc1: no setup signature found... |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [BUG] New Kernel Bugs |
