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

Re: first-class conflicts?

From
Sandra Snan <sandra.snan@idiomdrottning.org>
Date
Nov 7, 2023, 09:16 UTC
Message-ID
<874jhxj531.fsf@ellen.idiomdrottning.org>
In-Reply-To
<CABPp-BH7WBm1j-Ue9oZFjoy6sTcw5B0hz_ndDEtJqvpZF4YF=w@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
> Martin talked about this and other features at Git Merge 2022, a 
> little over a year ago.

That is something I should've checked or searched for before starting this thread, in hindsight. Thank you, Elijah, for letting me know that.

Show 5 quoted lines
> And if we did, it'd solve various issues such as people wanting 
> to be able to stash conflicts, or wanting to be able to 
> partially resolve conflicts and fix it up later, or be able to 
> collaboratively resolve conflicts without having everyone have 
> access to the same checkout. 
One feature I would really like and maybe vanilla git can already 
do this today and I just don't know how, but just becoming more 
aware of conflicts, of when there's a conflict in the commit.
 
> git status would probably need some special warnings or notices, 
> git checkout would probably benefit from additional 
> warnings/notices checks for those cases, git log should probably 
> display conflicted commits differently

That's exactly what I dream of! I wouldn't wanna commit conflicts deliberately, just that I'm paranoid that I might have some failed merges and three way diffs in code that I missed when they flashed by on the screen.

> it'd also be a lot of work

That is for sure. And don't get me wrong, it's not a feature I personally really need or am clamoring for. Thank you so much for the thoughtful explanation.

Previous: Dragan SimicNext: Phillip Wood
Message 15 of 25 in “first-class conflicts?”
  1. Sandra SnanNov 6, 2023
  2. Dragan SimicNov 6, 2023
  3. Sandra SnanNov 6, 2023
  4. rsbecker@nexbridge.comNov 6, 2023
  5. Sandra SnanNov 6, 2023
  6. Phillip WoodNov 7, 2023
  7. Sandra SnanNov 7, 2023
  8. Theodore Ts'oNov 7, 2023
  9. Junio C HamanoNov 11, 2023
  10. Sandra SnanNov 11, 2023
  11. Theodore Ts'oNov 12, 2023
  12. Junio C HamanoNov 12, 2023
  13. Elijah NewrenNov 7, 2023
  14. Dragan SimicNov 7, 2023
  15. Sandra SnanNov 7, 2023
  16. Phillip WoodNov 7, 2023
  17. Martin von ZweigbergkNov 7, 2023
  18. Elijah NewrenNov 8, 2023
  19. Martin von ZweigbergkNov 8, 2023
  20. Elijah NewrenNov 10, 2023
  21. Martin von ZweigbergkNov 12, 2023
  22. phillip.wood123@gmail.comNov 9, 2023
  23. Elijah NewrenNov 8, 2023
  24. Phillip WoodNov 9, 2023
  25. Elijah NewrenNov 10, 2023

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.