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

Re: Please add a git config option to make --show-signature the default

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 24, 2016, 11:20 UTC
Message-ID
<alpine.DEB.2.20.1605241313440.4449@virtualbox>
In-Reply-To
<57438568.60707@gmail.com>
Hi Austin,
On Mon, 23 May 2016, Austin English wrote:
> As stated in title, I'd like to see an option to enable GPG signature
> by default.

I see an option was mentioned in the mail's subject line, but no indication which command you want to assume implicitly that this option was passed.

Care to elaborate?
> I find this feature very useful and would like to enable it by default
> on my machine, without having to resort to an alias in my ~/.bash_rc.
You probably meant $HOME/.bashrc.
> I asked in #git and checked the git repo, but I didn't see an option
> listed for this.

Since you are already a Git user, why not just use Git itself to investigate further? It is easy:

1. clone https://github.com/git/git
2. run `git grep show-signature` to figure out where this option is handled
3. open the corresponding file and find out where the flag is stored
4. use `git grep` again to determine whether there is another way to set
   that flag

If there is no other way, why not go the whole nine yards and just come up with a patch? That is how many, many other improvements were made: users wanted a certain feature and then just went ahead and made it all happen.

You will find it a rewarding experience, and you will also find that you will receive excellent help on this mailing list when you demonstrate your willingness to invest some of your own time into that project.

Ciao, Johannes

Previous: Austin EnglishNext: Austin English
Message 2 of 5 in “Please add a git config option to make --show-signature the default”
  1. Austin EnglishMay 23, 2016
  2. Johannes SchindelinMay 24, 2016
  3. Austin EnglishMay 25, 2016
  4. Mehul JainMay 25, 2016
  5. Austin EnglishMay 26, 2016

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.