From: Dragan Simic Date: Mon, 11 Mar 2024 16:17:13 GMT Subject: Re: [PATCH v2] config: add --comment option to add a comment Message-ID: <5eff951e815e2fdab3834c4aa4160ed8@manjaro.org> In-Reply-To: On 2024-03-11 13:55, Junio C Hamano wrote: > "Ralph Seichter via GitGitGadget" writes: > >> From: Ralph Seichter >> >> Introduce the ability to append comments to modifications >> made using git-config. Example usage: >> >> git config --comment "changed via script" \ >> --add safe.directory /home/alice/repo.git >> >> based on the proposed patch, the output produced is: >> >> [safe] >> directory = /home/alice/repo.git #changed via script > > For readability, you probably would want to have a SP before the > given string, i.e., > > variable = "value" # message comes here Let me interject... Perhaps also a tab character before the "# comment", instead of a space character. That would result in even better readability.