[PATCH 1/1] tests: fix gzip with exported GZIP variable in environment

2013-12-03 Thread Christian Hesse
In t/t5000-tar-tree.sh the variable GZIP is used for the command name. From man gzip: The environment variable GZIP can hold a set of default options for gzip. These options are interpreted first and can be overwritten by explicit command line parameters. So using any other variable name

[PATCH 1/1] skip RFC1991 tests with gnupg 2.1.x

2014-12-11 Thread Christian Hesse
--- t/lib-gpg.sh | 6 ++ t/t7004-tag.sh | 14 +++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index cd2baef..05b07c6 100755 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -22,6 +22,12 @@ else GNUPGHOME=$(pwd)/gpghome

[PATCH v2 1/1] create gpg homedir on the fly and skip RFC1991 tests for gnupg 2.1

2014-12-11 Thread Christian Hesse
GnuPG 2.1 homedir looks different, so just creat it on the fly by importing needed private and public keys and ownertrust. This solves an issue with gnupg 2.1 running interactive pinentry when old secret key is present. Additionally GnuPG 2.1 does not longer support RFC1991, so skip these tests.

[PATCH 1/1] replace binary keyrings with armored keys

2014-12-11 Thread Christian Hesse
--- t/lib-gpg.sh | 3 +- t/lib-gpg/keyring.gpg | 88 ++ t/lib-gpg/pubring.gpg | Bin 2359 - 0 bytes t/lib-gpg/secring.gpg | Bin 3734 - 0 bytes 4 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 t/lib-gpg/keyring.gpg

Re: [PATCH 1/1] skip RFC1991 tests with gnupg 2.1.x

2014-12-11 Thread Christian Hesse
Michael J Gruber g...@drmicha.warpmail.net on Thu, 2014/12/11 17:54: Torsten Bögershausen schrieb am 11.12.2014 um 16:32: On 11.12.14 10:30, Christian Hesse wrote: --- t/lib-gpg.sh | 6 ++ t/t7004-tag.sh | 14 +++--- 2 files changed, 13 insertions(+), 7 deletions

Re: [PATCH 1/1] skip RFC1991 tests with gnupg 2.1.x

2014-12-12 Thread Christian Hesse
Junio C Hamano gits...@pobox.com on Thu, 2014/12/11 15:10: Christian Hesse m...@eworm.de writes: However... Even if GnuPG 2.2.x (or whatever future release) will become next stable: It will not reintroduce support for rfc1991. How certain are we about the deprecation? The sixth beta

Re: [PATCH v2 1/1] create gpg homedir on the fly and skip RFC1991 tests for gnupg 2.1

2014-12-12 Thread Christian Hesse
Junio C Hamano gits...@pobox.com on Thu, 2014/12/11 14:41: Christian Hesse m...@eworm.de writes: GnuPG 2.1 homedir looks different, so just creat it on the fly by importing needed private and public keys and ownertrust. This solves an issue with gnupg 2.1 running interactive pinentry when

[PATCH 1/3] create gpg homedir on the fly

2014-12-12 Thread Christian Hesse
GnuPG 2.1 homedir looks different, so just creat it on the fly by importing needed private and public keys and ownertrust. This solves an issue with gnupg 2.1 running interactive pinentry when old secret key is present. Signed-off-by: Christian Hesse m...@eworm.de --- t/lib-gpg.sh | 10

[PATCH 2/3] skip RFC1991 tests for gnupg 2.1

2014-12-12 Thread Christian Hesse
GnuPG = 2.1.0 does not longer support RFC1991, so skip these tests. Signed-off-by: Christian Hesse m...@eworm.de --- t/lib-gpg.sh | 3 +++ t/t7004-tag.sh | 14 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 4e57942..b0138ad

[PATCH 3/3] replace binary keyrings with armored keys

2014-12-12 Thread Christian Hesse
Signed-off-by: Christian Hesse m...@eworm.de --- t/lib-gpg.sh | 3 +- t/lib-gpg/keyring.gpg | 88 ++ t/lib-gpg/pubring.gpg | Bin 2359 - 0 bytes t/lib-gpg/secring.gpg | Bin 3734 - 0 bytes 4 files changed, 89 insertions(+), 2 deletions

[PATCH 1/3] create gpg homedir on the fly

2014-12-12 Thread Christian Hesse
GnuPG 2.1 homedir looks different, so just create it on the fly by importing needed private and public keys and ownertrust. This solves an issue with gnupg 2.1 running interactive pinentry when old secret key is present. Signed-off-by: Christian Hesse m...@eworm.de --- t/lib-gpg.sh

[PATCH 3/3] replace binary keyrings with armored keys

2014-12-12 Thread Christian Hesse
better. Signed-off-by: Christian Hesse m...@eworm.de --- t/lib-gpg.sh | 3 +- t/lib-gpg/keyring.gpg | 88 ++ t/lib-gpg/pubring.gpg | Bin 2359 - 0 bytes t/lib-gpg/secring.gpg | Bin 3734 - 0 bytes 4 files changed, 89 insertions(+), 2

Re: [PATCH 1/3] create gpg homedir on the fly

2014-12-12 Thread Christian Hesse
-by: Christian Hesse m...@eworm.de Thanks! t/lib-gpg.sh | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index b611b78..33de402 100755 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -16,23 +16,25 @@ else # Type DSA

Re: [PATCH 3/3] replace binary keyrings with armored keys

2014-12-13 Thread Christian Hesse
Junio C Hamano gits...@pobox.com on Fri, 2014/12/12 13:50: Christian Hesse m...@eworm.de writes: Last but not least git and patch can handle this a lot better. Actually we can handle binary patch just fine ;-) Ah, that was kind of misleading. :-p Generating a patch with git including

[PATCH 1/1] tests: make comment match the code

2014-12-16 Thread Christian Hesse
GnuPG homedir is generated on the fly and keys are imported from armored key file. Make commet match available key info and new key generation procedure. Signed-off-by: Christian Hesse m...@eworm.de --- t/lib-gpg.sh | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff

[PATCH 1/1] do not add common-main to lib

2016-08-15 Thread Christian Hesse
From: Christian Hesse <m...@eworm.de> Commit 08aade70 (mingw: declare main()'s argv as const) changed declaration of main function. This breaks linking external projects (e.g. cgit) to libgit.a with: error: Multiple definition of `main' So do not add common-main to lib and let project

Re: [PATCH 1/1] do not add common-main to lib

2016-08-15 Thread Christian Hesse
Johannes Schindelin <johannes.schinde...@gmx.de> on Mon, 2016/08/15 14:20: > Hi Christian, > > On Mon, 15 Aug 2016, Christian Hesse wrote: > > > From: Christian Hesse <m...@eworm.de> > > > > Commit 08aade70 (mingw: declare main()'s argv as const

Re: [PATCH 1/1] do not add common-main to lib

2016-08-15 Thread Christian Hesse
Jeff King <p...@peff.net> on Mon, 2016/08/15 08:02: > On Mon, Aug 15, 2016 at 09:52:07AM +0200, Christian Hesse wrote: > > > From: Christian Hesse <m...@eworm.de> > > > > Commit 08aade70 (mingw: declare main()'s argv as const) changed > > declara