On Mon, 2012-02-13 at 07:49 -0500, Stephen Gallagher wrote:
Modify the file. Then do a 'git add <file>'. Then
instead of doing
regular 'git commit', you can do 'git commit --amend'. This will add the
changes you just made to the previous commit in the list. Now just 'git
format-patch -M -C --patience --full-index -1' and you'll have a new
patch with all of your changes.
This process gets a little trickier if you have made other patches and
commits in the tree since the one you want to edit. In that case, you'll
want to learn the "ins and outs" of 'git rebase -i', but that's a
much
longer lesson.
git commit --fixup <commitid> is much simpler to explain for basica
changes, then a normal git rebase (not interactive) will automatically
merge in the right commit, and usual got format-patch
Simo.
If you get to a point where you need to do that, I
recommend joining us on IRC so we can walk you through it for the first
time. We hang around on #sssd on
irc.freenode.net.
--
Simo Sorce * Red Hat, Inc * New York