git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Some ideas for StGIT

From
Yann Dirson <ydirson@altern.org>
Date
Aug 4, 2007, 08:08 UTC
Message-ID
<20070804080801.GD30277@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<1186206085.28481.33.camel@dv>
On Sat, Aug 04, 2007 at 01:41:25AM -0400, Pavel Roskin wrote:
Show 6 quoted lines
> [quote]
> Sometimes, I just make patches in quilt, then I do "quilt 
> refresh", "quilt pop -a", "cd patches" and modify the patches 
> and series file manually, e.g. by moving one patch from one file 
> into the other.
> [end of quote]

FWIW, I have written a couple of scripts to help moving stuff around between patches. Those are not yet integrated in stgit proper, and it happens that the 0.13 tarball does not contain them, they are only available from the git tree (better use my tree[1], since I updated them recently).

Most notably relevant to this use are stg-fold-files-from and
stg-dispatch, to move diff hunks between patches.  They only cases
(off the top of my hand) where they do not fit my needs are:
 - when I need to move a part of a diff hunk that is not possible to
 isolate using -U<n> (but I have read interesting things about git-gui
 for such functionnality, so that will surely come one day)
 - when I need to move git-specific diff hunks (moves, permissions,
 etc.), since it uses filterdiff, which is not git-aware (yet ?)

(in short, there are lots of dev to do in/around stgit, but there are not as many contributors as there is for git - hint, hint ;)

If there are other typical situations where they need to edit patches, I'd be interested to hear about them. Not to avoid implementing patch edition in stgit, since it is occasionally useful to fix a typo when reviewing at refresh time, but to see what higher-level tools we could provide.

Best regards,
-- 
Yann

[1] gitweb at http://repo.or.cz/w/stgit/ydirson.git
Previous: Josef SipekNext: Catalin Marinas
Message 14 of 32 in “Some ideas for StGIT”
  1. Pavel RoskinAug 3, 2007
  2. Andy ParkinsAug 3, 2007
  3. Pavel RoskinAug 4, 2007
  4. Shawn O. PearceAug 4, 2007
  5. Pavel RoskinAug 5, 2007
  6. Jakub NarebskiAug 5, 2007
  7. Shawn O. PearceAug 5, 2007
  8. Junio C HamanoAug 5, 2007
  9. Josef SipekAug 5, 2007
  10. Johannes SchindelinAug 5, 2007
  11. Josef SipekAug 5, 2007
  12. Johannes SchindelinAug 5, 2007
  13. Josef SipekAug 5, 2007
  14. Yann DirsonAug 4, 2007
  15. Catalin MarinasAug 6, 2007
  16. Chris ShoemakerAug 4, 2007
  17. Johannes SchindelinAug 4, 2007
  18. Yann DirsonAug 3, 2007
  19. Catalin MarinasAug 6, 2007
  20. Pavel RoskinAug 6, 2007
  21. Josef SipekAug 6, 2007
  22. Theodore TsoAug 4, 2007
  23. Yann DirsonAug 4, 2007
  24. Josef SipekAug 4, 2007
  25. Pavel RoskinAug 5, 2007
  26. Catalin MarinasAug 6, 2007
  27. Karl HasselströmAug 6, 2007
  28. Pavel RoskinAug 6, 2007
  29. Karl HasselströmAug 6, 2007
  30. Catalin MarinasAug 23, 2007
  31. Karl HasselströmAug 23, 2007
  32. Pavel RoskinAug 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.