git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Please add a git config option to make --show-signature the default
@ 2016-05-23 22:34 Austin English
  2016-05-24 11:20 ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Austin English @ 2016-05-23 22:34 UTC (permalink / raw)
  To: git


[-- Attachment #1.1: Type: text/plain, Size: 373 bytes --]

As stated in title, I'd like to see an option to enable GPG signature
by default. 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.

I asked in #git and checked the git repo, but I didn't see an option
listed for this.

Thanks in advance, and for git itself! ;)
-Austin


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please add a git config option to make --show-signature the default
  2016-05-23 22:34 Please add a git config option to make --show-signature the default Austin English
@ 2016-05-24 11:20 ` Johannes Schindelin
  2016-05-25  3:58   ` Austin English
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2016-05-24 11:20 UTC (permalink / raw)
  To: Austin English; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please add a git config option to make --show-signature the default
  2016-05-24 11:20 ` Johannes Schindelin
@ 2016-05-25  3:58   ` Austin English
  2016-05-25 18:18     ` Mehul Jain
  0 siblings, 1 reply; 5+ messages in thread
From: Austin English @ 2016-05-25  3:58 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

On Tue, May 24, 2016 at 6:20 AM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> 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?

My mistake, 'git show'.

>> 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.

Well $HOME and ~ are functionally equivalent on bash, but yes I did
mistake the filename, thanks.

>> 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

I used git to verify that there were no options for signature, which
led me to file a bug, but in the absence of a bug tracker, to this
mailing list.

> 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.

I'll keep that in mind. I have a full time job and several other open
source projects that I contribute to, so if I can find time, I'll try
to submit my own patch. In the meantime, it seems appropriate to file
a bug so that others can have the opportunity to solve the problem if
they're interested.

-- 
-Austin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please add a git config option to make --show-signature the default
  2016-05-25  3:58   ` Austin English
@ 2016-05-25 18:18     ` Mehul Jain
  2016-05-26  0:27       ` Austin English
  0 siblings, 1 reply; 5+ messages in thread
From: Mehul Jain @ 2016-05-25 18:18 UTC (permalink / raw)
  To: Austin English; +Cc: Johannes Schindelin, Git Mailing List

Hi,

On Wed, May 25, 2016 at 9:28 AM, Austin English <austinenglish@gmail.com> wrote:
> I'll try
> to submit my own patch. In the meantime, it seems appropriate to file
> a bug so that others can have the opportunity to solve the problem if
> they're interested.

If you haven't started working on it and if no one else has picked it up
then I would like to try it out and submit a patch.

Thanks,
Mehul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please add a git config option to make --show-signature the default
  2016-05-25 18:18     ` Mehul Jain
@ 2016-05-26  0:27       ` Austin English
  0 siblings, 0 replies; 5+ messages in thread
From: Austin English @ 2016-05-26  0:27 UTC (permalink / raw)
  To: Mehul Jain; +Cc: Johannes Schindelin, Git Mailing List

On Wed, May 25, 2016 at 1:18 PM, Mehul Jain <mehul.jain2029@gmail.com> wrote:
> Hi,
>
> On Wed, May 25, 2016 at 9:28 AM, Austin English <austinenglish@gmail.com> wrote:
>> I'll try
>> to submit my own patch. In the meantime, it seems appropriate to file
>> a bug so that others can have the opportunity to solve the problem if
>> they're interested.
>
> If you haven't started working on it and if no one else has picked it up
> then I would like to try it out and submit a patch.

Hi Mehul,

I have not started work, Gentoo/Tails have been keeping me busy. I
would greatly appreciate you picking this up. I'm happy to test any
patches if you'd like.

-- 
-Austin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-26  0:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 22:34 Please add a git config option to make --show-signature the default Austin English
2016-05-24 11:20 ` Johannes Schindelin
2016-05-25  3:58   ` Austin English
2016-05-25 18:18     ` Mehul Jain
2016-05-26  0:27       ` Austin English

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).