git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Series short description
@ 2006-11-23 23:16 Yann Dirson
  2006-11-23 23:16 ` [PATCH 1/4] Make Series::patch_applied public Yann Dirson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yann Dirson @ 2006-11-23 23:16 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: GIT list

The following adds a --patch flag to "stg refresh".  I mainly needed it to
edit the log message in patches down the stack, but with some work it could
be used to record changes in another file and come back.

That would require to pop patches with --keep, and if we ask to only record
a subset of the changes, we would need to implement "push --keep" first.

This patch is not perfect, since it reverses a list twice, but I did not
find an elegant way to make it better.  Python gurus, feel free to improve
this :)

While I was at it, I noticed that "stg goto" need not revert the applied list
if we're going to an unapplied patch (sorta compensate my extraneous revert above ;),
and I noticed a DWIM behaviour on the (should-be)-erroneous "refresh --ack --sign".

-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-24 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-23 23:16 [PATCH 0/4] Series short description Yann Dirson
2006-11-23 23:16 ` [PATCH 1/4] Make Series::patch_applied public Yann Dirson
2006-11-23 23:16 ` [PATCH 2/4] Allows to refresh a non-top applied patch Yann Dirson
2006-11-23 23:17 ` [PATCH 3/4] Optimize stg goto in the pop case Yann Dirson
2006-11-23 23:17 ` [PATCH 4/4] Bomb out when --ack and --sign are both passed to "refresh" Yann Dirson
2006-11-24 15:37 ` [PATCH 0/4] Series short description Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).