Re: [feature wishlist] add commit subcommand to git add -i
Show 10 quoted lines
> [f]ragment would also be handy, which would break each chunk of a diff
> into a separate commit, with the summary line provided automatically
> <file> @@ -696,7 +692,7 @@ int foo ...
>
> This would help a bit with random cleanups, since rebase -i could then
> be used to
> reorder and recombine the fragments, and edit the commit messages afterwards.
>
> going further, if git rebase -i had ability to "back" a fixup patch
> back to where it should have been
This little script may be of interest to you:
http://article.gmane.org/gmane.comp.version-control.git/163621
--
Thomas Rast
trast@{inf,student}.ethz.ch