Rubén Justo <rjusto@xxxxxxxxx> writes: > On Mon, Jun 10, 2024 at 03:09:48PM +0100, Phillip Wood wrote: > >> I'm still not really convinced that the escape sequences are a problem. > > A concern about the escape sequences was mentioned in this message: > https://lore.kernel.org/git/b7e24b08-40a1-4b18-89f6-e25ab96facaf@xxxxxxxxx/ > > It arose when exploring the possibility of using the new command "|" > with tools that do not support escape sequences, e.g.: "| vim -", or > "| clip.exe" to send the hunk to the clipboard, on Windows. Let's not bikeshed this for too long. Pipe "|" stuff that is suitable for pager in the context of Git (i.e. if color.ui does not forbid coloring with "no", their usual pager is capable of color, so we send colored output to the pipe), and if somebody wants uncolored output later, they can use "P" to pipe or ">" to file or whatever other enhancement they want, but let's leave them out of this round.