From: Junio C Hamano Date: Sun, 09 Jun 2013 23:25:11 GMT Subject: Re: [PATCH v4 0/7] git send-email suppress-cc=self fixes Message-ID: <7vy5ain9yg.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130605201423.GB31143@redhat.com> "Michael S. Tsirkin" writes: > With respect to this, and a bit off-topic, what's > the best way to revise patch series? > > What I did, given series in patchvN-1/: > > rm -fr patchvN #blow away old directory if there > # otherwise I get two copies of patches if I renamed any Not needed with recent "git format-patch -v4" option. > git branch|fgrep '*' > # Figure out on which branch I am, manually specify the correct upstream I'm tracking, > # otherwise I get a ton of unrelated patches. git-prompt with PS1 you do not need this either. > git format-patch --cover --subject-prefix='PATCH vN' -o patchvN origin/master.. Again, "git format-patch -v4 -o mt-send-email" will deposit the new ones alongside the older round. > vi patchvN/0000* patchvN-1/0000* Same (i.e. "vi mt-send-email/v*-0000-*.txt).