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

Re: [PATCH 1/4] Add 2 new contrib scripts.

From
Yann Dirson <ydirson@altern.org>
Date
Jun 3, 2007, 12:40 UTC
Message-ID
<20070603124018.GD6992@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<20070603123254.GB6507@diana.vm.bytemark.co.uk>
On Sun, Jun 03, 2007 at 02:32:54PM +0200, Karl Hasselström wrote:
Show 13 quoted lines
> On 2007-06-01 11:22:12 +0200, David Kågedal wrote:
> 
> > This is something I've been missing.
> 
> I believe this is useful, too.
> 
> > But I'd call it "stg merge" or something, since what it does is that
> > it merges the top patch into the patch below it. But since "merge"
> > means something else to git, it might not be the best choice.
> 
> Maybe "coalesce"? I recall using that word when turning several
> consecutive memory blocks into a single larger block in a malloc
> implementation, and this sitiation is very similar.

Hm, maybe, but the idea is not necessarily to merge this patch into the former one (I have written contrib/stg-swallow for this use), but really to turn the patch into just local changes (eg. to restore local changes after a complex operation, like in stg-k).

Show 6 quoted lines
> It would be nice if it was possible to specify an arbitrary series of
> patches, and get them coalesced into one. (StGIT would have to push
> and pop to place them consecutively and topmost.) With a parameter to
> control the name of the new large patch, and the comment being the
> concatenation of the comments of the component patches (easily
> editable in the editor window that pops up).
stg-swallow would be quite easy to extend for this usage.
Best regards,
-- 
Yann.
Previous: Karl HasselströmNext: Yann Dirson
Message 5 of 10 in “Rename detection, take 2”
  1. 0/4 Rename detection, take 2Yann Dirson, May 31, 2007
  2. 1/4 Add 2 new contrib scripts.Yann Dirson, May 31, 2007
  3. David KågedalJun 1, 2007
  4. Karl HasselströmJun 3, 2007
  5. Yann DirsonJun 3, 2007
  6. 2/4 Call external commands without a shell where possible.Yann Dirson, May 31, 2007
  7. 3/4 Make diff flags handling more modular.Yann Dirson, May 31, 2007
  8. 4/4 Add new --diff-opts/-O flag to diff- and status-related commands.Yann Dirson, May 31, 2007
  9. Catalin MarinasJun 4, 2007
  10. Yann DirsonJun 5, 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.