Hi, On Tue, Jul 08, 2008, Jakub Narebski wrote:[...] I've needed this, too, and I've added this use case in the EXAMPLES section that will be included in the next patchset. Basically it is the same as the rebase documentation says: during a pause (by "edit" or "pause" insn) reset to HEAD^, add only those parts to the index you want to have in the first patch and commit and then repeat this. When I've experienced this need the first time, I thought about how sequencer could ease that. A first idea was something like "take only files X, Y, Z from commit ..." or a --exclude as patch has. But often splitting a patch is not done file-wise, but hunk-wise or even line-wise. So my second idea was to add an option to "pause" that just invokes the "reset HEAD^". That makes it easy, I think. How should this option be called? Imho the patch generation should be done by git-rebase. That seems to be useful indeed and reminds me of "git bisect run <script>". Perhaps it's also better to call it "run" so that it is a generic way of running scripts from sequencer and if they fail, sequencer will pause, if they pass, everything goes on. What about this? run [--dir=<path>] [--] <cmd> <args>...:: Run command `<cmd>` with arguments `<args>`. Pause (conflict-like) if exit status is non-zero. + If `<path>` is set, sequencer will change directory to `<path>` before running the command and change back after exit. Regards, Stephan -- Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F -- 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
| Tejun Heo | [PATCH 2/7] FUSE: pass nonblock flag to client |
| Paa Paa | Lower HD transfer rate with NCQ enabled? |
| Miklos Szeredi | [BUG] long freezes on thinkpad t60 |
| FUJITA Tomonori | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Elijah Newren | Re: Trying to use git-filter-branch to compress history by removing large, obsolet... |
| Matthieu Moy | [RFC] Clean way to disable pager |
| Johannes Sixt | Re: MinGW port - initial work uploaded |
| Wincent Colaiuta | Possible to make a totally empty repository for remote access? |
| slug bait | Problem with Intel 4-port NIC |
| Erik Carlseen | Installing OpenBSD 4.4 AMD64 with more than 4GB |
| BARDOU Pierre | OpenBGP load balancing between 2 ISP (multihoming) |
| RedShift | Re: Real men don't attack straw men |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Chad Dougherty | help |
| Linus Torvalds | Re: Missing linux/delay.h??? |
| Orest Zborowski | emacs interactive shell not working |
| VPN's on NetBSD | 9 hours ago | NetBSD |
| Why does uClinux 2.6.18 bootup block SuperIO UART IRQs that BIOS configured | 10 hours ago | Linux kernel |
| USB statistics | 11 hours ago | Linux kernel |
| Block Sub System query | 16 hours ago | Linux kernel |
| kernel module to intercept socket creation | 17 hours ago | Linux kernel |
| Image size changing during each build | 17 hours ago | Linux kernel |
| Soft lock bug | 22 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 1 day ago | Linux kernel |
| Question on swap as ramdisk partition | 1 day ago | Linux kernel |
| serial driver xmit problem | 1 day ago | Linux kernel |
