RE: Suggestion to provide a way for screenshots to be added to commit messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes! This is exactly what I had it mind. It would require a lot of organisation but I think it could work really, really well if implemented like this.

-----Original Message-----
From: Junio C Hamano <jch2355@xxxxxxxxx> On Behalf Of Junio C Hamano
Sent: Saturday, May 6, 2023 3:28 PM
To: Teng Long <dyroneteng@xxxxxxxxx>
Cc: erik@xxxxxxxxxxx; git@xxxxxxxxxxxxxxx; Shafiq Jetha <shafiq.jetha@xxxxxxxxxxxx>
Subject: Re: Suggestion to provide a way for screenshots to be added to commit messages

[You don't often get email from gitster@xxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Teng Long <dyroneteng@xxxxxxxxx> writes:

> I'm not sure the scenario of using git note to save the binary is 
> suitable, but the above context may give some ideas, maybe.

A project could choose to store its commit log message in some arbitrary binary format, encoded to be safe when displayed as text by accident (e.g. "Content-type: text/html" with quoted-printable, or something silly like that) when shown in plain vanilla "git log".

Then repository viewers can be taught to render such a "rich" log message in any way it wants.  I do not know if authors of "gitk"
(bundled with us) or "tig" (not provided by us) are interested in doing so to their ware, but there are tons of GUI Clients out there
(https://git-scm.com/downloads/guis) and authors of some of them may be enticed to add such a new feature ;-)





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux