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

Re: Some ideas for StGIT

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Aug 23, 2007, 14:09 UTC
Message-ID
<b0943d9e0708230709o6ae16d5dvcfeba2f344f57fa5@mail.gmail.com>
In-Reply-To
<20070806135204.GC23349@diana.vm.bytemark.co.uk>
(cleaning up my inbox after holiday, so my replies might look random)
On 06/08/07, Karl Hasselström <kha@treskal.com> wrote:
Show 12 quoted lines
> On 2007-08-06 08:42:05 -0400, Pavel Roskin wrote:
> > Purely from the code standpoint, yes, it should be a separate
> > command. But it may be practical to have both in one command, since
> > I commonly need to change the description after changing the code.
>
> Sure. I don't have any objection to making
>
>   stg refresh -e
>
> be equivalent to
>
>   stg refresh && stg edit-patch-message <topmost-patch>

The only objection is the long command name - 'stg edit [<patch>]' would be just fine. It would also be nice to do (with an additional option), the equivalent of export - edit - import in case one wants to also modify the diff.

> What I'm objecting to is being forced to refresh when I just want to
> edit the message. (And, to a lesser degree, having to manually push
> and pop to make the patch topmost before I can edit its message.)

Not necessarily - 'stg refresh -e -p <patch>' does the pop/push for you and it even uses the fast-forwarding.

-- 
Catalin
Previous: Karl HasselströmNext: Karl Hasselström
Message 30 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.