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

Re: [ANNOUNCE] TopGit v0.3

From
Petr Baudis <pasky@suse.cz>
Date
Sep 21, 2008, 14:24 UTC
Message-ID
<20080921142445.GJ10360@machine.or.cz>
In-Reply-To
<1221648520.30402.12.camel@heerbeest>
On Wed, Sep 17, 2008 at 12:48:40PM +0200, Jan Nieuwenhuizen wrote:
Show 13 quoted lines
> On vr, 2008-09-12 at 19:14 +0100, martin f krafft wrote:
> 
> > I've considered this question a lot before and could not come up
> > with anything; you cannot undo a merge.
> 
> Isn't that overly pessimistic?  Can't we have git create a merge
> commit that can be reverted with git revert?
> 
> For our ooo-build use case, I'm hoping to use [top]git as "a better 
> patch" and hope to have mostly orthogonal topic branches.  With patch,
> to "undo a merge" usually means patch -R and remove the patch from
> the dependency list.  I can hardly imagine something easily possible
> with patch is still impossible with git.

The problem is that you can undo the merge content, but not the history information. So this revert can e.g. propagate even into branches which still *should* depend on the other branch, you get into trouble when you want to make your branch depend on the other one anyway, etc.

				Petr "Pasky" Baudis
Previous: Jan NieuwenhuizenNext: Jan Nieuwenhuizen
Message 10 of 20 in “[ANNOUNCE] TopGit v0.3”
  1. Petr BaudisSep 9, 2008
  2. Bert WesargSep 10, 2008
  3. Petr BaudisSep 12, 2008
  4. Jan NieuwenhuizenSep 11, 2008
  5. Petr BaudisSep 12, 2008
  6. Jan NieuwenhuizenSep 12, 2008
  7. Petr BaudisSep 12, 2008
  8. martin f krafftSep 12, 2008
  9. Jan NieuwenhuizenSep 17, 2008
  10. Petr BaudisSep 21, 2008
  11. Jan NieuwenhuizenSep 22, 2008
  12. Petr BaudisSep 22, 2008
  13. Jan NieuwenhuizenSep 23, 2008
  14. Petr BaudisSep 23, 2008
  15. Jan NieuwenhuizenSep 29, 2008
  16. Jan HolesovskyOct 3, 2008
  17. Michael RadziejSep 15, 2008
  18. Petr BaudisSep 17, 2008
  19. Michael RadziejSep 17, 2008
  20. Petr BaudisSep 12, 2008

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.